Add Primitive time/timestamp_nanos/timestampntz_nanos/uuid test file#92
Add Primitive time/timestamp_nanos/timestampntz_nanos/uuid test file#92mapleFU merged 6 commits intoapache:masterfrom
Conversation
| "short_string": "Less than 64 bytes (\u2764\ufe0f with utf8)" | ||
| } No newline at end of file | ||
| "short_string": "Less than 64 bytes (\u2764\ufe0f with utf8)", | ||
| "primitive_time": "12:33:54:123456" |
| @@ -78,6 +78,7 @@ | |||
| -- https://github.com/apache/parquet-testing/issues/79 | |||
| -- is not clear how to create the following types using Spark SQL | |||
| -- TODO TimeNTZ (Type ID 17) | |||
| -- TODO 'timestamp with timezone (NANOS)' (Type ID 18) | ||
| -- TODO 'timestamp with time zone (NANOS)' (Type ID 19) | ||
| -- TODO 'UUID' (Type ID 20) |
There was a problem hiding this comment.
Would you mind generate other types?
|
@mapleFU I've updated the pr, please have another look when you're free, thanks. |
|
I would checking these files after work about 8PM in UTC-8 |
| -- TODO 'timestamp with timezone (NANOS)' (Type ID 18) | ||
| -- TODO 'timestamp with time zone (NANOS)' (Type ID 19) | ||
| -- TODO 'UUID' (Type ID 20) | ||
| -- binary artifacts of 'TimeNTZ'/'timestamp with timezone (NANOS)'/'timestamp with time zone (NANOS)'/'UUID' was generated by the iceberg test code, please ref to https://github.com/apache/parquet-testing/pull/92 for more detail |
There was a problem hiding this comment.
timestamp with timezone is duplicated?
There was a problem hiding this comment.
Ah, there is one for without, fixed it.
| } No newline at end of file | ||
| "primitive_timestamp_nanos": "2024-11-07T12:33:54.123456789+00:00", | ||
| "primitive_timestampntz_nanos": "2024-11-07T12:33:54.123456789", | ||
| "short_string": "Less than 64 bytes (\u2764\ufe0f with utf8)", |
There was a problem hiding this comment.
the ordering here is a bit weird, can we order this by alphabet?
There was a problem hiding this comment.
Thanks for pointing this out, fixed it.
|
Other verified and looks ok to me |
|
Before merging, can you update the readme with latest info? |
|
(Sorry, I mean pr description, my bad...) |
|
@mapleFU I've updated the readme, please take another look when you're free, thanks. |
|
@mapleFU, thanks for the reply. I've updated the PR description. Do I need to revert the latest commit? |
|
@mapleFU Thanks for the review and merging! |
This wants to add binary artifacts for
primitive_time.[metadata/value],primitive_timestamp_nanos.[metadata/value],primitive_timestampntz_nanos.[metadata/value]andprimitive_uuid.[metadata/data]. They were generated by the modified iceberg code, as currently Spark does not support these primitivesmodified code to generate the binary artifacts
binary artifacts content