oracle - How to run 2 different "execute sql" steps in one session in Pentaho Kettle (PDI) -


My question is, how can I run 2 different "execute SQL scripts" steps, so that they both share the same session Lange, not 2 different?
In my transformation, I need to run a SQL script at the beginning of the change process, to allow modification in the table. After this, I remove the data from a database, manipulate them, and I need to call some process (using another SQL script) to update the conversion status based on the result. I can not update the situation, if SQL is not executed first, and permission is not granted.

Search gives me only 2 results:

  1. Select "Unique Connection" in Change Settings. This is not applicable, because it is only available in older versions of Kettle.
  2. Choose "Transform Changes Database" - In fact, the only thing (new name for old property in new kettle) seems like what I really do not want because it does not work as expected Does

    I am working with Oracle Database and Kettle 5.1.0.

    Update:

     Enter image description here

    In this picture, I have 2" execution SQL scripts "in order to move, blocked by the appropriate steps. It seems that these scripts executed in 2 different database connections (sessions), then the second does not see the effect of the first.

    Was the main point "executed for each line"? Option of "Execute SQL Statement" phase This option changes the behavior of a little step. For this step, Pattaho Wiki "Select this option to execute SQL for each incoming row. In this case, the parameter can be used. When this option is unchecked, then the SQL statement step Is executed in the initial stage. ". Actually what I want but I'm thinking, why did developers put 2 different functions in one option?

Comments

Popular posts from this blog

java - ImportError: No module named py4j.java_gateway -

python - Receiving "KeyError" after decoding json result from url -

.net - Creating a new Queue Manager and Queue in Websphere MQ (using C#) -