Uploaded image for project: 'IMPALA'
  1. IMPALA
  2. IMPALA-527

Cast(' 1234' as int) should not return null

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • Impala 1.1
    • Impala 1.2
    • None
    • None

    Description

      Both Hive and Impala returns cast(' 123' as int) as null. But it's not very user friendly. Impala can implicitly trim whitespace for the user, if needed.

      Attachments

        Activity

          People

            alan@cloudera.com Alan Choi
            alan@cloudera.com Alan Choi
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: