Uploaded image for project: 'Spark'
  1. Spark
  2. SPARK-16729

Spark should throw analysis exception for invalid casts to date type

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 2.0.1, 2.1.0
    • SQL
    • None

    Description

      Spark currently throws exceptions for invalid casts for all other data types except date type. Somehow date type returns null. It should be consistent and throws analysis exception as well.

      Attachments

        Activity

          People

            petermaxlee Peter Lee
            petermaxlee Peter Lee
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: