iceberg icon indicating copy to clipboard operation
iceberg copied to clipboard

Support timestamp type in partition string when importing files

Open puchengy opened this issue 2 years ago • 6 comments

When building snapshot for a Hive table whose partition column is of timestamptz type, it fails with

java.lang.UnsupportedOperationException: Unsupported type for fromPartitionString: timestamptz

This PR tries to fix it.

puchengy avatar Apr 06 '23 18:04 puchengy

Seems there is an earlier PR that also tends to fix this issue: #3933 . May be the discussions in that PR can also help here.

JonasJ-ap avatar Apr 06 '23 20:04 JonasJ-ap

thanks @JonasJ-ap, following up there.

puchengy avatar Apr 06 '23 21:04 puchengy

Any progress on this PR? We're having the same problem. our partition looks like log_file_date=2023-10-16 00%3A00%3A00

camper42 avatar Oct 17 '23 01:10 camper42

@camper42 Hi, sorry, I am not actively working on the PR at the moment.

puchengy avatar Oct 20 '23 13:10 puchengy

Also meet the same error when migrating the Hive tables to Iceberg tables. The partition in Hive is like event_date=2023-04-27 11%3A00%3A00.0 anybody working on this or https://github.com/apache/iceberg/pull/3933?

Zhile avatar Jan 12 '24 08:01 Zhile

This pull request has been marked as stale due to 30 days of inactivity. It will be closed in 1 week if no further activity occurs. If you think that’s incorrect or this pull request requires a review, please simply write any comment. If closed, you can revive the PR at any time and @mention a reviewer or discuss it on the [email protected] list. Thank you for your contributions.

github-actions[bot] avatar Aug 28 '24 00:08 github-actions[bot]

This pull request has been closed due to lack of activity. This is not a judgement on the merit of the PR in any way. It is just a way of keeping the PR queue manageable. If you think that is incorrect, or the pull request requires review, you can revive the PR at any time.

github-actions[bot] avatar Sep 05 '24 00:09 github-actions[bot]