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

[BUG] Unit test Write encrypted ORC fallback fails on Spark-3.4 #7751

Closed
nartal1 opened this issue Feb 14, 2023 · 0 comments · Fixed by #8135
Closed

[BUG] Unit test Write encrypted ORC fallback fails on Spark-3.4 #7751

nartal1 opened this issue Feb 14, 2023 · 0 comments · Fixed by #8135
Assignees
Labels
bug Something isn't working Spark 3.4+ Spark 3.4+ issues test Only impacts tests

Comments

@nartal1
Copy link
Collaborator

nartal1 commented Feb 14, 2023

Describe the bug
Unit test Write encrypted ORC fallback fails on Spark-3.4 with below error:

- NOT ON GPU[ShuffleExchangeExec,DataWritingCommandExec]: Write encrypted ORC fallback *** FAILED ***
  java.lang.IllegalArgumentException: Part of the plan is not columnar class org.apache.spark.sql.execution.datasources.WriteFilesExec
WriteFiles
+- GpuColumnarToRow false
   +- GpuShuffleCoalesce 2147483647
      +- GpuColumnarExchange gpusinglepartitioning$(), REPARTITION_BY_NUM, [plan_id=110]
         +- GpuRowToColumnar targetsize(2147483647)
            +- LocalTableScan [ints#20, more_ints#21]
  at com.nvidia.spark.rapids.GpuTransitionOverrides.assertIsOnTheGpu(GpuTransitionOverrides.scala:623)
  at com.nvidia.spark.rapids.GpuTransitionOverrides.$anonfun$assertIsOnTheGpu$7(GpuTransitionOverrides.scala:637)
  at com.nvidia.spark.rapids.GpuTransitionOverrides.$anonfun$assertIsOnTheGpu$7$adapted(GpuTransitionOverrides.scala:637)
  at scala.collection.Iterator.foreach(Iterator.scala:943)
  at scala.collection.Iterator.foreach$(Iterator.scala:943)
  at scala.collection.AbstractIterator.foreach(Iterator.scala:1431)
  at scala.collection.IterableLike.foreach(IterableLike.scala:74)
  at scala.collection.IterableLike.foreach$(IterableLike.scala:73)
  at scala.collection.AbstractIterable.foreach(Iterable.scala:56)
  at com.nvidia.spark.rapids.GpuTransitionOverrides.assertIsOnTheGpu(GpuTransitionOverrides.scala:637)

Steps/Code to reproduce bug

mvn clean install -pl tests -am -DskipTests
mvn test -Dbuildver=340  -pl tests -Dsuites='com.nvidia.spark.rapids.OrcEncryptionSuite'

Expected behavior
Above test should pass

@nartal1 nartal1 added bug Something isn't working ? - Needs Triage Need team to review and classify test Only impacts tests Spark 3.4+ Spark 3.4+ issues labels Feb 14, 2023
@mattahrens mattahrens removed the ? - Needs Triage Need team to review and classify label Feb 14, 2023
@andygrove andygrove self-assigned this Apr 17, 2023
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.4+ Spark 3.4+ issues test Only impacts tests
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants