Uploaded image for project: 'Calcite'
  1. Calcite
  2. CALCITE-2542

SqlNode AtomicRowExpression + DOT operation does not work for constructed ROWs

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 1.18.0
    • core
    • None

    Description

      It seems like some of the AtomicRowExpression (such as NamedFunctionCall) or rowSpan with <ROW> operator does not allow following DOT operators in Parser.jj

      To named a few, the following does not parse correctly.

      SELECT ROW(col1, col2, col3).col1 FROM t
      SELECT myFunc(arg1, arg2).col1 FROM t
      

      Attachments

        Issue Links

          Activity

            People

              julianhyde Julian Hyde
              rongr Rong Rong
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: