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

Properly override Shims for int96Rebase [databricks] #3643

Merged
merged 2 commits into from
Sep 24, 2021

Conversation

razajafri
Copy link
Collaborator

@razajafri razajafri commented Sep 24, 2021

Signed-off-by: Raza Jafri rjafri@nvidia.com

  • Added methods for returning the Rebase conf for different versions of Spark in their proper Shims
  • No further tests were added

closes #3642
closes #1135

Signed-off-by: Raza Jafri <rjafri@nvidia.com>
@razajafri
Copy link
Collaborator Author

build

@@ -50,6 +50,15 @@ trait Spark30XShims extends SparkShims {
conf.getConf(SQLConf.LEGACY_PARQUET_REBASE_MODE_IN_READ)
override def parquetRebaseWrite(conf: SQLConf): String =
conf.getConf(SQLConf.LEGACY_PARQUET_REBASE_MODE_IN_WRITE)
override def int96ParquetRebaseRead(conf: SQLConf): String =
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

these are still in shims/spark311db/src/main/scala/com/nvidia/spark/rapids/shims/spark311db/Spark311dbShims.scala

Signed-off-by: Raza Jafri <rjafri@nvidia.com>
@sameerz sameerz added bug Something isn't working Spark 3.2+ labels Sep 24, 2021
@sameerz sameerz added this to the Sep 13 - Sep 24 milestone Sep 24, 2021
@tgravescs
Copy link
Collaborator

build

@razajafri
Copy link
Collaborator Author

Failed due to OOM

@razajafri
Copy link
Collaborator Author

build

@tgravescs tgravescs merged commit 9cbb0b3 into NVIDIA:branch-21.10 Sep 24, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working Spark 3.2+
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[BUG] Shims improperly overridden [FEA] Spark3.1.0 test spark.sql.legacy.parquet.int96RebaseModeInRead
4 participants