Uploaded image for project: 'Tajo (Retired)'
  1. Tajo (Retired)
  2. TAJO-1453

sql parse error occured with join query

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Minor
    • Resolution: Unresolved
    • 0.10.0
    • None
    • SQL Parser
    • None

    Description

      It is simple parse error.
      I am testing Tajo with BI solution, Birst.
      Birst usually generate join query like following:
      select table1.* from table1 inner join (table2) on (table1.id = table2.id);

      If "table2" has parenthesis, Tajo displays follwing error:
      ERROR: syntax error at or near 'table2'

      I didn't check ANSI SQL doesn't allow parenthesis in this case.
      But Almost databases I evaluated support this case.

      Attachments

        1. TAJO-1453.patch
          3 kB
          Yongjin Choi

        Activity

          People

            yongjin.choi Yongjin Choi
            jrlee Jungryong Lee
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated: