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

Cast shouldn't do null check twice

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 1.0.0
    • 1.0.1, 1.1.0
    • SQL
    • None

    Description

      Cast does two null checks, one in eval and another one in the function returned by nullOrCast. It's best to get rid of the one in nullOrCast (since eval will be the more common code path).

      Attachments

        Activity

          People

            rxin Reynold Xin
            rxin Reynold Xin
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: