-
Notifications
You must be signed in to change notification settings - Fork 2
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
DMD-33 bucket refresh fix column data types #181
DMD-33 bucket refresh fix column data types #181
Conversation
4c6751e
to
b29ee29
Compare
b29ee29
to
9222584
Compare
WHEN DATA_TYPE IN ('BINARY', 'VARBINARY') THEN | ||
'BINARY' | ||
|
||
-- Default case for all other types as they are mapped by DESC TABLE direcly to themself |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
premyslim jeste o dalsich datatypech (napr FLOAT...), ale asi to nechme tak
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
pravda, mapují se všechny na FLOAT
: https://docs.snowflake.com/en/sql-reference/data-types-numeric#examples-of-floating-point-data-types-in-a-table
To tam ještě přidám
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ta myslenka byla v tom, ze jsi identifikoval nejake datatypy, ktere v te query resis. Ale neumime rict, jestli se vsechny ostatni pak chovaji "spravne" - tzn muzou defaultovat na to co o sobe opradvu rikaji
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Jo máš pravdu, float je OK.
Asi by teoreticky mohl bejt problém s novým data typem nebo pokud to snowflake změni.
Rád bych pak napsal test, který to bude porovnávat, ale asi až to celé doklepnu tak jako další udržovací task.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
d5e63a1
to
798c3af
Compare
Jira: DMD-33
Connection PR: https://github.com/keboola/connection/pull/5415
SAPI PR: keboola/storage-api-php-client#1439
Changes:
- add length & precision for data types