-
Notifications
You must be signed in to change notification settings - Fork 166
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
Integration test broken #492
Comments
I also hit this today. I think this is because the spark session uses our computer's local timezone when inserting timestamp values into that table. We may config the Spark Session to always use UTC timezone in spark = (
SparkSession.builder.appName("PyIceberg integration test")
.config("spark.sql.session.timeZone", "UTC")
.config("spark.sql.extensions", "org.apache.iceberg.spark.extensions.IcebergSparkSessionExtensions")
.config("spark.sql.catalog.integration", "org.apache.iceberg.spark.SparkCatalog")
.config("spark.sql.catalog.integration.catalog-impl", "org.apache.iceberg.rest.RESTCatalog")
... The github CI should pass without this change because the Github Action VM uses UTC timezone by default. |
makes sense, I'm in PT (UTC-8) which matches the difference between Just ran
and everything passed |
Do you already have a PR out for the change? Or should I push one up? |
Could you please open one up? I can quickly merge that 😄 . Thanks! |
Apache Iceberg version
main (development)
Please describe the bug 🐞
As of current commit 3/2/2024
Error log:
Reproduce:
Possibly related to #453
The text was updated successfully, but these errors were encountered: