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

Fix Delta Lake Integration tests; test_delta_atomic_create_table_as_select and test_delta_atomic_replace_table_as_select #9676

Closed
razajafri opened this issue Nov 12, 2023 · 0 comments · Fixed by #9729
Assignees
Labels
bug Something isn't working

Comments

@razajafri
Copy link
Collaborator

razajafri commented Nov 12, 2023

This is the exception seen. I am not sure why we are trying to replace GpuDeltaCatalog$GpuStagedDeltaTableV2WithLogging which is already on the Gpu

23/11/13 04:35:54 WARN GpuOverrides: 
!Exec <AppendDataExecV1> cannot run on GPU because catalog class com.databricks.sql.transaction.tahoe.rapids.GpuDeltaCatalog$GpuStagedDeltaTableV2WithLogging is not supported
  @Expression <AttributeReference> num_affected_rows#1796L could run on GPU
  @Expression <AttributeReference> num_inserted_rows#1797L could run on GPU

23/11/13 04:35:54 ERROR GpuOverrideUtil: Encountered an exception applying GPU overrides java.lang.IllegalArgumentException: Part of the plan is not columnar class org.apache.spark.sql.execution.datasources.v2.AppendDataExecV1
AppendDataExecV1 [num_affected_rows#1796L, num_inserted_rows#1797L], com.databricks.sql.transaction.tahoe.rapids.GpuDeltaCatalog$GpuStagedDeltaTableV2WithLogging@7b56a796, Repartition 1, false, org.apache.spark.sql.execution.datasources.v2.DataSourceV2Strategy$$Lambda$3763/1862059630@7a3c8499, com.databricks.sql.transaction.tahoe.rapids.GpuDeltaCatalogBase$GpuStagedDeltaTableV2$DeltaV1WriteBuilder$$anon$1@4adbc31d

java.lang.IllegalArgumentException: Part of the plan is not columnar class org.apache.spark.sql.execution.datasources.v2.AppendDataExecV1
AppendDataExecV1 [num_affected_rows#1796L, num_inserted_rows#1797L], com.databricks.sql.transaction.tahoe.rapids.GpuDeltaCatalog$GpuStagedDeltaTableV2WithLogging@7b56a796, Repartition 1, false, org.apache.spark.sql.execution.datasources.v2.DataSourceV2Strategy$$Lambda$3763/1862059630@7a3c8499, com.databricks.sql.transaction.tahoe.rapids.GpuDeltaCatalogBase$GpuStagedDeltaTableV2$DeltaV1WriteBuilder$$anon$1@4adbc31d
@razajafri razajafri added bug Something isn't working ? - Needs Triage Need team to review and classify labels Nov 12, 2023
@razajafri razajafri changed the title Fix Delta Lake Shims for Replacing AtomicCreateTableAsSelectExec and AtomicReplaceTableAsSelectExec Fix Delta Lake Integration tests; test_delta_atomic_create_table_as_select and test_delta_atomic_replace_table_as_select Nov 13, 2023
@mattahrens mattahrens removed the ? - Needs Triage Need team to review and classify label Nov 14, 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
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants