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 empty table broadcast requiring a GPU on driver node #1057

Merged
merged 1 commit into from
Nov 4, 2020

Conversation

jlowe
Copy link
Member

@jlowe jlowe commented Nov 2, 2020

Fixes #975

Changes broadcast code to use only HostColumnVector when constructing an empty table rather than requiring an empty Table to be created which requires ColumnVector and thus CUDA and a GPU to be available on the driver. Note that I recently fixed HostColumnVector in rapidsai/cudf#6633 to avoid loading native dependencies.

This PR also cleans up a bunch of minor nits IntelliJ was flagging in GpuColumnVector where final is redundant on a static method. I'm happy to move those changes to another PR if desired.

Signed-off-by: Jason Lowe <jlowe@nvidia.com>
@jlowe jlowe added the SQL part of the SQL/Dataframe plugin label Nov 2, 2020
@jlowe jlowe added this to the Oct 26 - Nov 6 milestone Nov 2, 2020
@jlowe jlowe self-assigned this Nov 2, 2020
@jlowe
Copy link
Member Author

jlowe commented Nov 2, 2020

build

2 similar comments
@jlowe
Copy link
Member Author

jlowe commented Nov 3, 2020

build

@jlowe
Copy link
Member Author

jlowe commented Nov 3, 2020

build

Copy link
Collaborator

@revans2 revans2 left a comment

Choose a reason for hiding this comment

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

Feels like a lot of small changes not related to this. Not a big deal though.

@jlowe jlowe merged commit 3043ea8 into NVIDIA:branch-0.3 Nov 4, 2020
@jlowe jlowe deleted the fix-empty-broadcast-table branch November 4, 2020 15:01
tgravescs added a commit to tgravescs/spark-rapids that referenced this pull request Nov 6, 2020
tgravescs added a commit to tgravescs/spark-rapids that referenced this pull request Nov 6, 2020
sperlingxx pushed a commit to sperlingxx/spark-rapids that referenced this pull request Nov 20, 2020
nartal1 pushed a commit to nartal1/spark-rapids that referenced this pull request Jun 9, 2021
nartal1 pushed a commit to nartal1/spark-rapids that referenced this pull request Jun 9, 2021
tgravescs pushed a commit to tgravescs/spark-rapids that referenced this pull request Nov 30, 2023
…IDIA#1057)

Signed-off-by: spark-rapids automation <70000568+nvauto@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
SQL part of the SQL/Dataframe plugin
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[BUG] BroadcastExchangeExec fails to fall back to CPU on driver node on GCP Dataproc
2 participants