Maximum data Knime can accept from a CSV file?

I am trying to import 8Lakh rows with 70 columns from a csv file using csv reader but it is getting failed after loading 35% what could be the issue and how can we solve it. i don’t want to decrease the number of rows.

Hi there!

Welcome to KNIME community!

That is 800.000 rows, right? Don’t think KNIME should have a problem with it. Do you get some error message?

Br,
Ivan

Hi @vijaykumar! In general, it is recommended to use the File Reader node instead of the CSV Reader node (because it is more flexible). In many cases, the problem is a ’ or " in some of your cells. You can deactivate this behaviour in the File Reader node under “Advanced” -> “Quote support”.

1 Like

As @agaunt has suggested you first should try the File Reader. If you still experience problems with CSV import you could try and use the Readr package in R.

The Actian nodes used to be really good for handling big files, but they are still not working with the latest version of Knime:

https://docs.actian.com/dataflow/6.6/index.html#page/InstallConfig%2FInstalling_DataFlow_Extensions_in_KNIME.htm%23wwconnect_header

I am getting when i have tried uploading Raw data but i have done the cleaning in Jupyter and uploaded the processed data and it is working fine. I think this area Knime should work and make the product more robust.

Hi there!

Glad it worked out with Jupyter. Did you know that:

  1. You can use the Python code found in Jupyter notebooks from the Python scripting nodes in KNIME
  2. You can execute KNIME workflows directly from within Python. If you are working within a Jupyter notebook you can also get a (static) view of the workflow in the notebook.

Here is a blog post where you can read more about it:
https://www.knime.com/blog/knime-and-jupyter#footnote

Tnx for a feedback.

Br,
Ivan

Hi @vijaykumar

one of the things I would do here is using streaming. You can find more in our blog post about optimizing the speed: https://www.knime.com/blog/optimizing-knime-workflows-for-performance

Cheers, Iris

PS: and as a small hint: check out the nightly built if you want to see a faster KNIME :slight_smile:

1 Like

This topic was automatically closed 182 days after the last reply. New replies are no longer allowed.