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

Operators in Impala expressions have unusual precedence

    XMLWordPrintableJSON

Details

    Description

      Impala includes operators like !, ||, &&, &, |, that are not part of standard SQL. These should probably follow precedence rules similar to the languages from which they're taken, but they often don't currently.

      E.g.
      !x = y parses as !(x = y) rather than (!x) = y
      ~x + y parses as

      x * y | z parses as x * (y | z) rather than (x * y) | z

      Attachments

        Activity

          People

            Unassigned Unassigned
            tarmstrong Tim Armstrong
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated: