Hi All,
I would like to create a Knime extension that takes in a input port that is a DB Table Selector and then in the python code executes SQL statement (that generates a SQL table) and then have the output port be a DB Table Selector.
I tried to look for example of extensions, or even the Knime Python APIs for SQL but I have not been able to find it. Can someone help answer the following questions please:
-
Is it possible to have a “DB Table Selector” as an input port to a python extension?
-
Is there a KNIME API that allows me to get the SQL Table/Schema name from the “DB Table Selector” input port?
-
Is there a KNIME API that allows me to execute a SQL query? (I would do a create table using the input port table)
-
Is there a KNIME API that allows me to have an “DB Table Selector” output port that I would set with the table I created in my query
I have been able to do this with Dataiku because using their Python APIs (e…g, SQLExecutor2, DataSet etc). Does KNIME have the same capabilities?
Thanks
PJ