-
-
Notifications
You must be signed in to change notification settings - Fork 1k
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
psycopg2.DataError: invalid input syntax for type timestamp: "" #1351
Comments
Thank you for reporting this. Currently date fields are mapped to python StringVariable and the default value for that is '' (empty string), but date columns in the database cannot be compared to that. Orange has received a TimeVariable type recently, which would be the right mapping - so this should be handled much better (and without the error) quite soon. |
Hi @lanzagar, thanks for your replies I just tested with latest binary (3.3.6 rev.ee294bc), but the issue still remains - I get exact same error. |
@klonuo 3.3.6 rev.ee294bc is only the official release. The fixes haven't yet been released, so I suggest you to check the very latest version from Github in order to see whether this works. If you don't want to mess with Git, you can wait until Friday, when we'll hopefully going to release version 3.3.7. |
Or try the latest nightly build from http://orange.biolab.si/download/files/nightly/ |
Thanks guys :) I don't mind git and compiling, but I use Python 3.5 (not very big difference but still if it's targeted for 3.4...) and installer is very solid from my experience. Nice to know about nightly builds. However I'll wait for Friday as latest nightly is still too late for those commits referenced. |
This happens anytime I add date field in "Select Rows" condition. So it seems like a bad flow, as it happens just by selecting datetime variable, w/o selecting operator and value. After this exception I can select operator and add a value to get filtered data that seem fine.
Using latest Orange 3.3
The text was updated successfully, but these errors were encountered: