-
Notifications
You must be signed in to change notification settings - Fork 289
Leverage Iceberg-Rust for all the transforms #1833
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
base: main
Are you sure you want to change the base?
Changes from all commits
bf695e6
ae3ba82
881aecd
3bc74ee
b076077
16778a7
4999aae
059e067
2f56e2f
0d8ec94
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -186,8 +186,8 @@ def test_partition_type(table_schema_simple: Schema) -> None: | |
(DecimalType(5, 9), Decimal(19.25)), | ||
(DateType(), datetime.date(1925, 5, 22)), | ||
(TimeType(), datetime.time(19, 25, 00)), | ||
(TimestampType(), datetime.datetime(19, 5, 1, 22, 1, 1)), | ||
(TimestamptzType(), datetime.datetime(19, 5, 1, 22, 1, 1, tzinfo=datetime.timezone.utc)), | ||
(TimestampType(), datetime.datetime(2022, 5, 1, 22, 1, 1)), | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. what is wrong with There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. First, I thought it was some kind of clock correction somewhere in time that was accounted by one, and not the other. Digging into it deeper, it looks like there is an issue with negative numbers in general:
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Got a fix here: apache/iceberg-rust#1146 |
||
(TimestamptzType(), datetime.datetime(2022, 5, 1, 22, 1, 1, tzinfo=datetime.timezone.utc)), | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. do you want to merge #1592 into this PR? |
||
(StringType(), "abc"), | ||
(UUIDType(), UUID("12345678-1234-5678-1234-567812345678").bytes), | ||
(FixedType(5), 'b"\x8e\xd1\x87\x01"'), | ||
|
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.
nit: change this error message since we use this for all pyarrow transforms