-
Notifications
You must be signed in to change notification settings - Fork 240
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
Fallback to CPU when datasource v2 enables RuntimeFiltering #3456
Conversation
build |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good to me. Just a few nits
override def tagPlanForGpu(): Unit = { | ||
// Only Scan with SupportsRuntimeFiltering can support DPP. | ||
if (!p.runtimeFilters.isEmpty) { | ||
willNotWorkOnGpu("The DPP has not been supported") |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can we update the comment to be a little more clear? Perhaps something like.
"Runtime filtering (DPP) on datasource V2 is not supported"
shims/spark320/src/main/scala/com/nvidia/spark/rapids/shims/spark320/Spark320Shims.scala
Show resolved
Hide resolved
build |
1 similar comment
build |
GpuOrcScanBase.tagSupport(this) | ||
// we are being overly cautious and that Orc does not support this yet | ||
if (a.isInstanceOf[SupportsRuntimeFiltering]) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
here and elsewhere: Does calling tagSupport(this) on L542 make sense if this is true?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Per my understanding. Plugin is trying best to explain all the reasons that won't run on GPU at a time.
Signed-off-by: Bobby Wang <wbo4958@gmail.com>
a37a3ee
to
ca072aa
Compare
build |
This PR is to fix #3093