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

Spark does not support time datatype #9006

Closed
tundraraj opened this issue Nov 8, 2023 · 1 comment
Closed

Spark does not support time datatype #9006

tundraraj opened this issue Nov 8, 2023 · 1 comment

Comments

@tundraraj
Copy link

Feature Request / Improvement

Spark does not support time per https://iceberg.apache.org/docs/latest/spark-writes/#iceberg-type-to-spark-type.
see thread https://apache-iceberg.slack.com/archives/C025PH0G1D4/p1699395544460329

Query engine

Spark

@tundraraj tundraraj changed the title Spark does not support time Spark does not support time datatype Nov 8, 2023
@Fokko
Copy link
Contributor

Fokko commented Nov 10, 2023

Ah, I didn't realize that this isn't supported by Spark, see apache/spark#25678 (comment) I'm sorry, but I think we can close this one. In the Github thread a suggestion is given to use a datetime, and keep the time part always 1970-01-01. If you feel strongly about this, I would suggest opening an issue on the Spark repository.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants