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

Beeline Stops Running Command At Comment

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Open
    • Priority: Minor
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: Beeline, CLI
    • Labels:
      None

      Description

      This seems to be related to HIVE-13864 but I'm not sure that HIVE-16935 fixes it as the example is different. Please flag as a dupe and close if that's the case.

      If you download the two attached files and run this command it's quits parsing at the comment.

      beeline -u jdbc:hive2://localhost:10000 -f ./bug_run.sql

      {{ Error: Error while compiling statement: FAILED: SemanticException [Error 10004]: Line 1:7 Invalid table alias or column reference 'c1': (possible column names are: ) (state=42000,code=10004)}}

        Attachments

        1. bug_run.sql
          0.0 kB
          Shawn Weeks
        2. bug_exec.sql
          0.2 kB
          Shawn Weeks

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              Absolutesantaja Shawn Weeks
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated: