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

Conditional function 'notnullvalue' doesn't work

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • Impala 2.2
    • Impala 2.2
    • Docs
    • None

    Description

      Preconditions:
      1. Impala 2.2 is running;
      2. impala-shell is opened;

      Steps to reproduce:
      1. Enter in the command line:

      select case when notnullvalue('true') then 'PASS' end;
      

      (it's described in Cloudera documentation
      http://www.cloudera.com/content/cloudera/en/documentation/core/latest/topics/impala_conditional_functions.html)

      Actual result:

      select case when notnullvalue('true') then 'PASS' end;
      Query: select case when notnullvalue('true') then 'PASS' end
      ERROR: AnalysisException: default.notnullvalue() unknown
      

      Expected result:

      case when notnullvalue('true') then 'pass' end
      PASS

      P.S.: Same conditional function 'nonnullvalue' works
      https://issues.cloudera.org/browse/IMPALA-1662

      Attachments

        Issue Links

          Activity

            People

              jrussell John Russell
              murshyd Murshid Chalaev
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: