I'm using ODBC to connect postgreSQL EDB as source and target data store.
Before, the same data flow works fine with the data stores of Oracle. Currently, due to project requirement, I have to change the data store to ODBC to support several types of databases. But the data flow hangs for very long.
My data flow is very simple. two tables -> query(with ordering in it) -> table comparison -> key generation -> a destination table. With this smple data flow, I come across a problem that when the table comparison set to sorted input, it hangs. If I change it to cached comparison table, it works fine.
I think it has nothing to do with the data volumn because I have only less than 10 rows in each table for testing purpose. Even when I truncate one of the source table and the destination table, it still hangs, which is very wired. In this case, the query results should be empty. So, I guess the problem should be inside the table comparison component.
I also try to turn all trace log on and turn on the tracing SQL log in the DB side. As a result, I found that when the table comparison set to sorted input, several "select" SQLs are pushed to the DB. The SQLs are correct. But there're not SQLs for inserting and updating. When the table comparison set to cached comparison table, the SQLs for inserting are pushed to the DB. So, I think there's something wrong inside the table comparison component(ODBC).
Is there anyone came across the similar problem? Any solution or workaround?
Wait for answers from experts. Thanks in advance.