Since the switch to the new user interface, more and more old dialog-driven nodes are being removed and integrated into the right-hand area. Unfortunately, this is not always useful.
I am currently creating an ETL process to build a database from data in a multi-tab Excel spreadsheet.
In the older version, there was the „Create Table node“, which was very logically structured. Changing types and defining the key was quick and easy.
In the current version, I only find the Node DB Table Structure Creator. Where and how do I change the parameters Type, Size, etc., and Key for the fields within this node? I’m completely lost with this node.
I looked at Set Type, but what is it? It was so well implemented in the old dialog. I’m speechless. The wasted space and the awful handling are just ridiculous. I also don’t understand the difference between “Name-based SQL type mapping” and “KNIME-Based SQL type mapping”.
Sorry, I just want to change/adjust the type of some columns. For example, from VARCHAR(255) to CHAR(5), or Longint to int. I don’t understand the purpose of this; what was the reasoning behind it?
Setting the primary key seems to work this way. The fact that you can’t even select the column(s) is really bad. IS THERE ANOTHER WAY? Like before!
What if the primary key needs to be created from multiple columns?
If I want to write data to the table, I can only use the following settings with the DB Writer.
Append Rows:
I can’t use this
I need a Trancate Table beforehand
because:
Remove existing table and containing data:
then all settings from the Creator are lost, since the DB Writer recreates the table but doesn’t take the settings from the “DB Table Structure Creator” into account.
I cobbled together an alternative solution, but I’m not happy with it. The DB SQL Executor is performing a truncate operation.
SO: HOW DO I CHANGE THE COLUMN TYPE SETTINGS?
Text translated with Google, hopefully somewhat understandable.
Thanks for the tips and best regards,
Patrik










