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

function SIZE should return -1 when parameter is null

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • None
    • 2.1.0
    • SQL

    Description

      `select size(null)` returns -1 in Hive. In order to be compatible, we need to return -1 also.

      Attachments

        Activity

          People

            adrian-wang Adrian Wang
            adrian-wang Adrian Wang
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: