Skip to content
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

Support reading timestamp_ntz type (timestampNtz) in Delta Lake #17502

Merged
merged 2 commits into from
Jul 21, 2023

Conversation

ebyhr
Copy link
Member

@ebyhr ebyhr commented May 15, 2023

Description

Support reading timestamp_ntz type in Delta Lake. Writing the type is out of scope because our max writer version (5) doesn't support writer features (7). The type was added in Databricks 13 and the latest OSS Delta Lake doesn't support it type. I generated the resource file on Databricks 13.1
Relates to #16927

Release notes

(x) Release notes are required, with the following suggested text:

# Delta Lake
* Add support for reading `timestamp_ntz` type. ({issue}`17502`)

@cla-bot cla-bot bot added the cla-signed label May 15, 2023
@ebyhr ebyhr force-pushed the ebi/delta-timestamp-ntz branch 3 times, most recently from 1e61d0e to bfebcaf Compare May 15, 2023 09:25
@ebyhr ebyhr self-assigned this May 15, 2023
@github-actions github-actions bot added delta-lake Delta Lake connector docs labels May 15, 2023
@ebyhr ebyhr force-pushed the ebi/delta-timestamp-ntz branch from bfebcaf to 71bfbe0 Compare May 16, 2023 02:54
@ebyhr ebyhr marked this pull request as ready for review May 16, 2023 12:29
@ebyhr ebyhr requested review from findinpath and pajaks May 16, 2023 22:19
@ebyhr ebyhr force-pushed the ebi/delta-timestamp-ntz branch from 71bfbe0 to 5116813 Compare June 5, 2023 10:29
@ebyhr
Copy link
Member Author

ebyhr commented Jun 5, 2023

Rebased on master to resolve conflicts.

@ebyhr ebyhr requested a review from findepi June 6, 2023 08:05
@findepi
Copy link
Member

findepi commented Jul 4, 2023

@ebyhr in PR title should it be timestamp_ntz or timestampNtz or both?
the https://github.com/delta-io/delta/blob/master/PROTOCOL.md uses timestampNtz, the README documenting SQL to generate these files uses timestamp_ntz as a type.

@ebyhr ebyhr changed the title Support reading timestamp_ntz type in Delta Lake Support reading timestamp_ntz type (timestampNtz) in Delta Lake Jul 4, 2023
@ebyhr
Copy link
Member Author

ebyhr commented Jul 4, 2023

Updated the PR title to mention both.

@findinpath
Copy link
Contributor

@ebyhr i see that the type has been added in Delta OSS 2.4.0

https://github.com/delta-io/delta/releases/tag/v2.4.0

Could you pls attempt a product tests with Delta OSS for this feature?

@ebyhr
Copy link
Member Author

ebyhr commented Jul 4, 2023

Could you pls attempt a product tests with Delta OSS for this feature?

This requires #17667, but we can't merge the PR due to broken Databricks environment. I will add product tests once it's resolved.

@ebyhr
Copy link
Member Author

ebyhr commented Jul 5, 2023

Just rebased on master to resolve conflicts.

@ebyhr ebyhr force-pushed the ebi/delta-timestamp-ntz branch from 5116813 to 9dbff61 Compare July 5, 2023 09:12
@ebyhr ebyhr force-pushed the ebi/delta-timestamp-ntz branch 2 times, most recently from 61c289f to 4cab975 Compare July 13, 2023 12:43
@ebyhr ebyhr force-pushed the ebi/delta-timestamp-ntz branch from 4cab975 to 96751d9 Compare July 14, 2023 01:16
@ebyhr ebyhr merged commit 68ad854 into master Jul 21, 2023
@ebyhr ebyhr deleted the ebi/delta-timestamp-ntz branch July 21, 2023 10:06
@github-actions github-actions bot added this to the 423 milestone Jul 21, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Development

Successfully merging this pull request may close these issues.

4 participants