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

Make command splitting consistent between beeline and hive cli

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Open
    • Minor
    • Resolution: Unresolved
    • 3.1.2
    • None
    • CLI

    Description

      Make command splitting consistent between beeline and hive cli

      below sql can execute by beeline ,but  hive cli will throw exception:

      select
      1 as a, – hello;
      2 as b;

      hive>
      >
      >
      >
      >
      >
      > select
      > 1 as a, – hello;
      select
      1 as a, – hello
      FAILED: ParseException line 2:6 extraneous input ',' expecting EOF near '<EOF>'
      hive> 2 as b;
      2 as b

      Attachments

        Activity

          People

            leoluan Xuedong Luan
            leoluan Xuedong Luan
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:

              Time Tracking

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - 0h
                0h
                Logged:
                Time Spent - 40m
                40m