-
Notifications
You must be signed in to change notification settings - Fork 3
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
fix: Don't cast all types to string for CSV #498
base: main
Are you sure you want to change the base?
Conversation
51c9c6f
to
3f47c1f
Compare
return dt | ||
} | ||
switch dt := dt.(type) { | ||
case *arrow.MapType: |
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.
maps aren't supported
} | ||
switch dt := dt.(type) { | ||
case *arrow.MapType: | ||
case *arrow.FixedSizeListType: |
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.
lists are converted as list(converted elem)
Can we wait for someone to complain about the CSV format before fixing this? We recently did a breaking change in all our destinations that are using this module due to #494 (which was justified as it fixed some stuff in Parquet, JSON and CSV for timestamps). Not sure we should do another one only because of a CSV issue nobody reported on. |
Fixes https://github.com/cloudquery/cloudquery-issues/issues/1644
Requires apache/arrow#41595 & bump to arrow v16.1.0.
Diff in files generated:
2021-01-02 00:00:00
is now2021-01-02 00:00:00Z
(so this can also be considered a follow-up for fix(deps): Upgradegithub.com/apache/arrow/go
tov16
#494)ValueStr
ignores null value set to""
)