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] Spark-4.0: Tests failures in WindowFunctionSuite #12015

Open
Tracked by #12001
nartal1 opened this issue Jan 23, 2025 · 0 comments
Open
Tracked by #12001

[BUG] Spark-4.0: Tests failures in WindowFunctionSuite #12015

nartal1 opened this issue Jan 23, 2025 · 0 comments
Labels
bug Something isn't working Spark 4.0+ Spark 4.0+ issues test Only impacts tests

Comments

@nartal1
Copy link
Collaborator

nartal1 commented Jan 23, 2025

Describe the bug
Below unit tests(scala tests) are failing in WindowFunctionSuite
Total test failures: 27

Pasting the error message which have different reasons for the failure.

1. - [Window] [ROWS] [-2, 3]  *** FAILED ***
  java.lang.IllegalArgumentException: Part of the plan is not columnar class org.apache.spark.sql.execution.window.WindowExec

2. - [Window] [ROWS] [-2, CURRENT ROW]  *** FAILED ***
  org.apache.spark.SparkArithmeticException: [NUMERIC_VALUE_OUT_OF_RANGE.WITH_SUGGESTION]  382735532879176426 cannot be represented as Decimal(18, 1). If necessary set "spark.sql.ansi.enabled" to "false" to bypass this error, and return NULL instead. SQLSTATE: 22003
== DataFrame ==
"cast" was called from
com.nvidia.spark.rapids.WindowFunctionSuite.$anonfun$windowAggregationTesterForDecimal$1(WindowFunctionSuite.scala:56)

3. - [Window] [ROWS] [UNBOUNDED PRECEDING, CURRENT ROW] [NO PART] *** FAILED ***
  java.lang.IllegalArgumentException: Part of the plan is not columnar class org.apache.spark.sql.execution.window.WindowExec

Needs further investigation why WindowExec is not running on GPU. We need to check if disabling ANSI mode fixes some of the test failures.

Steps/Code to reproduce bug

mvn package -f scala2.13/pom.xml -pl tests -am -Dbuildver=400 -Dsuffixes=".*WindowFunctionSuite"

Expected behavior
Tests must either pass or skip with valid reason in the test suite.

@nartal1 nartal1 added ? - Needs Triage Need team to review and classify bug Something isn't working Spark 4.0+ Spark 4.0+ issues test Only impacts tests labels Jan 23, 2025
@mattahrens mattahrens removed the ? - Needs Triage Need team to review and classify label Jan 29, 2025
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 4.0+ Spark 4.0+ issues test Only impacts tests
Projects
None yet
Development

No branches or pull requests

2 participants