-
Notifications
You must be signed in to change notification settings - Fork 543
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
File data insert using CSVWithNames is failing since v0.3.2-patch10 #1072
Comments
Hi @rsim, thanks for the report and sorry for the inconvenience. There's a bad assumption forcing insert to use headless data format, which works for some formats like RowBinary but apparently not others. Will try to fix it today. |
@zhicwu I built the JDBC driver from the latest
|
Sorry @rsim, I thought it's covered by below case but it didn't. Let me fix it now. |
@zhicwu I just built the driver with this fix from the |
Thanks for confirming. You can download nightly build here after 4pm UTC today. |
We are using ClickHouse JDBC driver to import CSV files that include a header line with column names. Here is the JRuby code that we use https://github.com/rsim/mondrian-olap/blob/master/spec/rake_tasks.rb#L377-L380
It was working until the version v0.3.2-patch9 but since the version v0.3.2-patch10 it is failing with:
It seems that now the CSV format (without the header line) is used instead of CSVWithNames and it complains about the first file line with column headers.
I was browsing the changes between patch9 and patch10 but couldn't identify so far which change could be causing this.
The text was updated successfully, but these errors were encountered: