Uploaded image for project: 'Hive'
  1. Hive
  2. HIVE-21308

Negative forms of variables are not supported in HPL/SQL

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 4.0.0-alpha-1
    • hpl/sql
    • None
    • Reviewed

    Description

      In the following HPL/SQL programs:
      declare num = 1; print -num;
      The expected result should be '-1',but it print '1' .

      Attachments

        1. HIVE-21308.1.patch
          4 kB
          Baoning He

        Activity

          People

            ywhbn Baoning He
            ywhbn Baoning He
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: