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] Build error "GpuOverrides.scala:924: wrong number of arguments" on DB9.1.x spark-3.1.2 #4581

Closed
NvTimLiu opened this issue Jan 20, 2022 · 1 comment · Fixed by #4583
Assignees
Labels
bug Something isn't working

Comments

@NvTimLiu
Copy link
Collaborator

Describe the bug
Nightly build error on on DB9.1.x spark-3.1.2 as below

[2022-01-20T10:15:14.199Z] [ERROR] /home/ubuntu/spark-rapids/sql-plugin/src/main/scala/com/nvidia/spark/rapids/GpuOverrides.scala:924: wrong number of arguments for pattern org.apache.spark.sql.catalyst.expressions.PromotePrecision(child: org.apache.spark.sql.catalyst.expressions.Expression,originalType: Option[org.apache.spark.sql.types.DataType])

[2022-01-20T10:15:14.200Z] [ERROR]             case PromotePrecision(c: CastBase) if c.dataType.isInstanceOf[DecimalType] =>

[2022-01-20T10:15:14.200Z] [ERROR]                                  ^

[2022-01-20T10:15:14.200Z] [ERROR] /home/ubuntu/spark-rapids/sql-plugin/src/main/scala/com/nvidia/spark/rapids/GpuOverrides.scala:2067: recursive value x$15 needs type

[2022-01-20T10:15:14.200Z] [ERROR]           val Seq(boolExpr, trueExpr, falseExpr) = childExprs.map(_.convertToGpu())

[2022-01-20T10:15:14.200Z] [ERROR]                   ^

[2022-01-20T10:15:20.722Z] [ERROR] two errors found
@NvTimLiu NvTimLiu added bug Something isn't working ? - Needs Triage Need team to review and classify labels Jan 20, 2022
@NvTimLiu
Copy link
Collaborator Author

Seems relate to #4477 @jlowe, could you please help to check? Thanks!

@sameerz sameerz removed the ? - Needs Triage Need team to review and classify label Jan 25, 2022
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