Description: syncing does not work and throws various errors - depending on my setting for the CSV file which is: https://opendata.dwd.de/climate_environment/CDC/regional_averages_DE/annual/sunshine_duration/regional_averages_sd_year.txt .
So of course I went to read_csv in order to set render options, but I did not succeed eventually…
There are at least those problems with the file:
first line is a comment - there is "skiprows": "1" for this
second column has the same name as the first column - so I use "usecols":"[0,2,3,4,5, ...]"
selecting normalization throws an error from MS SQL
What exactly would I need to set as settings in order to be able to sync this open data CSV table to the database?
(upgraded to 0.39.32-alpha)
This seems also to be something that makes run basic normalization with SQL Server into problems - log file attached.
To me, it seems that although I set { "sep" : ";", "skiprows" : "1", "skipinitialspace":"true", "usecols": [0,3,4,5], "engine": "python"} in reader options for CSV, the column ‘year’ still makes it run into problems. This also happens when setting "usecols": [3,4,5] which should omit this column… Column 'year' has a data type that cannot participate in a columnstore index. Omit column 'year'. (35343).
But what is also not really running smooth is the tmp tables column naming: those are named according to the first data line, starting with 1952:
this should help with details about failing normalization:
I set as source the same MS SQL DB as the destination and selected a tiny table to sync. The result is that this fails also, see logs attached, example The statement failed. Column 'column1' has a data type that cannot participate in a columnstore index. Omit column 'column1'. (35343)
Maybe it has to do with the old MS SQL 2016 that I am using?
Hi there from the Community Assistance team.
We’re letting you know about an issue we discovered with the back-end process we use to handle topics and responses on the forum. If you experienced a situation where you posted the last message in a topic that did not receive any further replies, please open a new topic to continue the discussion. In addition, if you’re having a problem and find a closed topic on the subject, go ahead and open a new topic on it and we’ll follow up with you. We apologize for the inconvenience, and appreciate your willingness to work with us to provide a supportive community.