Skip to content

[Spark 4.0.0] Cast in ANSI mode uses wrong exception class #2218

@andygrove

Description

@andygrove

Describe the bug

Test:

SPARK-39175: Query context of Cast should be serialized to executors when WSCG is off

Error:

ex.isInstanceOf[org.apache.spark.SparkNumberFormatException] was false

Steps to reproduce

No response

Expected behavior

No response

Additional context

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingspark 4

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions