Git Product home page Git Product logo

Comments (4)

sramazzina avatar sramazzina commented on June 5, 2024

Ciao @usbrandon the behavior seems to be correct and not related to any issue in Apache Hop, according to what we are reading in this thread duckdb file being used by another process.

We need to perform further investigations to understand what we can do to overcome this limitations.

from hop.

sramazzina avatar sramazzina commented on June 5, 2024

Looking at what I detailed in previous message, to have things working we have 2 options that must be managed:

  1. If we want to RW the DuckDB database we must only use a single connection. And that is solved by using a pipeline run configuration that is defined as transactional because that is the only way to achive a single connection per pipeline
  2. If we only want to Read the DuckDB database we can use a normal pipeline run configuration BUT we must open the connection in read only mode by adding the appropriate flag to connection configuration as shown in the image below.

image

This option will work immediately after the feature #3661 will be applied so that the parameters specified will be applied in the connection in the proper way

from hop.

sramazzina avatar sramazzina commented on June 5, 2024

My bad, the idea of using transactional run configuration to solve the file locking problem seems not to be a valuable solution because the problem still remain. On the other side, the suggestion on using Read Only connections is valuable.

from hop.

sramazzina avatar sramazzina commented on June 5, 2024

The DuckDB file seems to remain locked only when an exception is raised during the execution of the table output. I'm trying to understand what's the difference.

from hop.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    πŸ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. πŸ“ŠπŸ“ˆπŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❀️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.