Paul Rogers created IMPALA-7915:
-----------------------------------

             Summary: Wrap SQL parser to avoid redundant code
                 Key: IMPALA-7915
                 URL: https://issues.apache.org/jira/browse/IMPALA-7915
             Project: IMPALA
          Issue Type: Improvement
          Components: Frontend
    Affects Versions: Impala 3.0
            Reporter: Paul Rogers
            Assignee: Paul Rogers


The FE has many repeated blocks of code to set up the lexer and parser, to 
parse, and to handle errors.

Move this code into a static function that can be used in place of the copies.

At the same time, provide a specific {{ParseException}} to replace the generic 
{{Exception}} thrown by the parser to allow easier error handling.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to