简体   繁体   中英

How to import CSV to KNIME in command line

I want to import a CSV file to KNIME in command line. When I run a command line like this:

"C:\Program Files\KNIME\knime.exe" c:\temp\foo.csv

导入CSV

A dialog pops up, but the button is grayed, I can't click finish. I'm new to KNIME, just installed it, does KNIME support importing CSV directly? Thanks.

That is not how you can import CSV files. That way you can open KNIME workflows. If you want to override a KNIME workflow's input data and (batch) execute the KNIME workflow, you should use flow variables as input and specify them in the command line: https://www.knime.com/faq#q12

-workflow.variable=my_csv_location,C:/tmp/foo.csv,String

Or something similar.

If you just want to import a CSV file to an existing workflow, just drag it on the editor area and it will add a CSV Reader node with the path set.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM