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] test_cast_decimal_to failing in databricks 7.3 #3648

Closed
abellina opened this issue Sep 24, 2021 · 6 comments
Closed

[BUG] test_cast_decimal_to failing in databricks 7.3 #3648

abellina opened this issue Sep 24, 2021 · 6 comments
Assignees
Labels
bug Something isn't working P0 Must have for release

Comments

@abellina
Copy link
Collaborator

Seeing the following in last night's build:

07:38:32  FAILED ../../src/main/python/cast_test.py::test_cast_decimal_to[ByteType-Decimal(12,2)][APPROXIMATE_FLOAT]
07:38:32  FAILED ../../src/main/python/cast_test.py::test_cast_decimal_to[ShortType-Decimal(12,2)][APPROXIMATE_FLOAT]
07:38:32  FAILED ../../src/main/python/cast_test.py::test_cast_decimal_to[IntegerType-Decimal(12,2)][APPROXIMATE_FLOAT]
07:38:32  FAILED ../../src/main/python/cast_test.py::test_cast_decimal_to[LongType-Decimal(12,2)][APPROXIMATE_FLOAT]
07:38:32  FAILED ../../src/main/python/cast_test.py::test_cast_decimal_to[FloatType-Decimal(12,2)][APPROXIMATE_FLOAT]
07:38:32  FAILED ../../src/main/python/cast_test.py::test_cast_decimal_to[DoubleType-Decimal(12,2)][APPROXIMATE_FLOAT]
07:38:32  FAILED ../../src/main/python/cast_test.py::test_cast_decimal_to[ByteType-Decimal(7,-3)][APPROXIMATE_FLOAT]
07:38:32  FAILED ../../src/main/python/cast_test.py::test_cast_decimal_to[ShortType-Decimal(7,-3)][APPROXIMATE_FLOAT]
07:38:32  FAILED ../../src/main/python/cast_test.py::test_cast_decimal_to[IntegerType-Decimal(7,-3)][APPROXIMATE_FLOAT]
07:38:32  FAILED ../../src/main/python/cast_test.py::test_cast_decimal_to[LongType-Decimal(7,-3)][APPROXIMATE_FLOAT]
07:38:32  FAILED ../../src/main/python/cast_test.py::test_cast_decimal_to[FloatType-Decimal(7,-3)][APPROXIMATE_FLOAT]
07:38:32  FAILED ../../src/main/python/cast_test.py::test_cast_decimal_to[DoubleType-Decimal(7,-3)][APPROXIMATE_FLOAT]
07:38:32  FAILED ../../src/main/python/cast_test.py::test_cast_decimal_to[ByteType-Decimal(7,3)][APPROXIMATE_FLOAT]
07:38:32  FAILED ../../src/main/python/cast_test.py::test_cast_decimal_to[ShortType-Decimal(7,3)][APPROXIMATE_FLOAT]
07:38:32  FAILED ../../src/main/python/cast_test.py::test_cast_decimal_to[IntegerType-Decimal(7,3)][APPROXIMATE_FLOAT]
07:38:32  FAILED ../../src/main/python/cast_test.py::test_cast_decimal_to[LongType-Decimal(7,3)][APPROXIMATE_FLOAT]
07:38:32  FAILED ../../src/main/python/cast_test.py::test_cast_decimal_to[FloatType-Decimal(7,3)][APPROXIMATE_FLOAT]
07:38:32  FAILED ../../src/main/python/cast_test.py::test_cast_decimal_to[DoubleType-Decimal(7,3)][APPROXIMATE_FLOAT]
07:38:32  FAILED ../../src/main/python/cast_test.py::test_cast_decimal_to[ByteType-Decimal(18,0)][APPROXIMATE_FLOAT]
07:38:32  FAILED ../../src/main/python/cast_test.py::test_cast_decimal_to[ShortType-Decimal(18,0)][APPROXIMATE_FLOAT]
07:38:32  FAILED ../../src/main/python/cast_test.py::test_cast_decimal_to[IntegerType-Decimal(18,0)][APPROXIMATE_FLOAT]
07:38:32  FAILED ../../src/main/python/cast_test.py::test_cast_decimal_to[ByteType-Decimal(7,7)][APPROXIMATE_FLOAT]
07:38:32  FAILED ../../src/main/python/cast_test.py::test_cast_decimal_to[LongType-Decimal(18,0)][APPROXIMATE_FLOAT]
07:38:32  FAILED ../../src/main/python/cast_test.py::test_cast_decimal_to[ShortType-Decimal(7,7)][APPROXIMATE_FLOAT]
07:38:32  FAILED ../../src/main/python/cast_test.py::test_cast_decimal_to[IntegerType-Decimal(7,7)][APPROXIMATE_FLOAT]
07:38:32  FAILED ../../src/main/python/cast_test.py::test_cast_decimal_to[FloatType-Decimal(18,0)][APPROXIMATE_FLOAT]
07:38:32  FAILED ../../src/main/python/cast_test.py::test_cast_decimal_to[LongType-Decimal(7,7)][APPROXIMATE_FLOAT]
07:38:32  FAILED ../../src/main/python/cast_test.py::test_cast_decimal_to[DoubleType-Decimal(18,0)][APPROXIMATE_FLOAT]
07:38:32  FAILED ../../src/main/python/cast_test.py::test_cast_decimal_to[FloatType-Decimal(7,7)][APPROXIMATE_FLOAT]
07:38:32  FAILED ../../src/main/python/cast_test.py::test_cast_decimal_to[DoubleType-Decimal(7,7)][APPROXIMATE_FLOAT]
@abellina abellina added bug Something isn't working ? - Needs Triage Need team to review and classify labels Sep 24, 2021
@abellina
Copy link
Collaborator Author

@revans2 fyi

@abellina
Copy link
Collaborator Author

07:53:51  e = IllegalArgumentException('Part of the plan is not columnar class org.apache.spark.sql.execution.ProjectExec\nProject [...:79)\n\tat py4j.GatewayConnection.run(GatewayConnection.java:251)\n\tat java.lang.Thread.run(Thread.java:748)\n', None)
07:53:51  
07:53:51  >   ???
07:53:51  E   pyspark.sql.utils.IllegalArgumentException: Part of the plan is not columnar class org.apache.spark.sql.execution.ProjectExec
07:53:51  E   Project [cast(a#73593 as int) AS a#73595, a#73593]
07:53:51  E   +- Scan ExistingRDD[a#73593]

@revans2 revans2 self-assigned this Sep 24, 2021
@revans2
Copy link
Collaborator

revans2 commented Sep 24, 2021

I just ran it manually on databricks 7.3 and it all passed. Will try to look at the nightly build and see if something else is happening.

@revans2
Copy link
Collaborator

revans2 commented Sep 24, 2021

The logs don't show anything being built, so the only thing I can think of is that there must have been a mismatch between the jars that were uploaded and the tests that were checked out of git. The tests were newer but the jars were older so the tests failed.

@tgravescs
Copy link
Collaborator

lets see what todays build does, the builds were a bit messed up yesterday

@sameerz sameerz removed the ? - Needs Triage Need team to review and classify label Sep 24, 2021
@Salonijain27 Salonijain27 added the P0 Must have for release label Sep 24, 2021
@Salonijain27 Salonijain27 added this to the Sep 27 - Oct 1 milestone Sep 24, 2021
@tgravescs
Copy link
Collaborator

the last 4 builds have worked fine since this, closing

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working P0 Must have for release
Projects
None yet
Development

No branches or pull requests

5 participants