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

Get rid of backtrack in Hive.g

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 0.4.0
    • Fix Version/s: 0.4.0
    • Component/s: Query Processor
    • Labels:
      None
    • Hadoop Flags:
      Reviewed

      Description

      Hive.g now still uses "backtrack=true". "backtrack" not only slows down the parsing in case of error, it can also produce wrong syntax error messages (usually based on the last try of the backtracking).

      We should follow http://www.antlr.org/wiki/display/ANTLR3/How+to+remove+global+backtracking+from+your+grammar to remove the need of doing backtrack.

        Attachments

        1. HIVE-416.1.1.patch
          7 kB
          Zheng Shao
        2. HIVE-416.1.2.branch-0.3.patch
          7 kB
          Zheng Shao
        3. HIVE-416.1.2.patch
          7 kB
          Zheng Shao
        4. HIVE-416.1.patch
          4 kB
          Zheng Shao

          Issue Links

            Activity

              People

              • Assignee:
                zshao Zheng Shao
                Reporter:
                zshao Zheng Shao
              • Votes:
                0 Vote for this issue
                Watchers:
                0 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: