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] cast decimal to string ScalaTest relies on a side effects #9768

Closed
gerashegalov opened this issue Nov 17, 2023 · 0 comments · Fixed by #9769
Closed

[BUG] cast decimal to string ScalaTest relies on a side effects #9768

gerashegalov opened this issue Nov 17, 2023 · 0 comments · Fixed by #9769
Assignees
Labels
bug Something isn't working test Only impacts tests

Comments

@gerashegalov
Copy link
Collaborator

A a couple of tests rely on other tests executed before to have an active Spark Session

$ mvn package -pl tests -am -Dbuildver=330 \
       -Dsuffixes='.*CastOpSuite' \
       -Dtests='@cast decimal to string' 
Run starting. Expected test count is: 1
CastOpSuite:
- cast decimal to string *** FAILED ***
  java.util.NoSuchElementException: None.get
  at scala.None$.get(Option.scala:529)
  at scala.None$.get(Option.scala:527)
  at com.nvidia.spark.rapids.CastOpSuite.$anonfun$new$40(CastOpSuite.scala:448)
@gerashegalov gerashegalov added bug Something isn't working ? - Needs Triage Need team to review and classify labels Nov 17, 2023
@gerashegalov gerashegalov self-assigned this Nov 17, 2023
@gerashegalov gerashegalov added bug Something isn't working test Only impacts tests and removed bug Something isn't working ? - Needs Triage Need team to review and classify labels Nov 17, 2023
nvauto pushed a commit that referenced this issue Nov 20, 2023
Fixes #9768 

withGpuSparkSession for (Ansi)CastOpSuite @ (ansi) cast decimal to string

---------

Signed-off-by: Gera Shegalov <gera@apache.org>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working test Only impacts tests
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant