-
-
Notifications
You must be signed in to change notification settings - Fork 541
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
sqlite integer column with reals (invalid syntax "2.32d0") #249
Comments
hmm i tried to specify a formatter
|
I just tried with adding a new table
Can you provide with more information, like |
hmm with the smaller table that has just the problem columns inserts are ok. https://github.com/akuseru/xivsqlite is what i am working with. the sql file is what i used to fix some typos in the schema. the table in question is |
I tried creating a new sqlite file with just the problem tables and insert went fine. leading me to believe that it's something related to the structure of the sqlite file and how the cast is being handled. but I am not sure Lisp is new to me. |
I was able to successfully create the import by creating a new table with the problem columns described as |
I could copy your repository and reproduce the error locally, will investigate later this week... thanks!
|
Related to #249, stop reporting 0 errors on sources where we failed to handle some data transformation.
I managed to import your test-case with the following command, and the previously committed patches that allow using the
More could be done related to fixing this issue, such as adding details about the transformation failure (column name and function where the failure did happen), and maybe improving the casting system to add some default transformation function for some source/target couples. That said, the very simple modifications made allow you to import your data... BTW, as your Have fun with PostgreSQL! |
Sweet! Thanks a lot for your help and this awesome tool. |
I have an sqlite integer column that contains reals. getting these loaded in is proving to be quite challenging.
I have modified the table in postgres and have attempted to load the data in with a cast to a real but it doesn't seem to be formatting the data correctly:
is there something that i am missing? or do i just need to edit the sqlite file to fix this problem?
The text was updated successfully, but these errors were encountered: