Anton Kedin created BEAM-4173:
---------------------------------

             Summary: [SQL] Refactor BeamSql, BeamSqlCli, BeamSqlEnv
                 Key: BEAM-4173
                 URL: https://issues.apache.org/jira/browse/BEAM-4173
             Project: Beam
          Issue Type: New Feature
          Components: dsl-sql
            Reporter: Anton Kedin


BeamSql is a single method which delegates to QueryTransform factory method 
which creates BeamSqlEnv which creates BeamSqlPlanner which then configures the 
parser and parses the query.

It looks like we can squash together a lot of it by:

 - replacing BeamSql invocations with direct QueryTransform invocations;

 - combining BeamSqlEnv with BeamSqlPlanner or extracting a higher level 
configuration object;

 - exposing few more QueryTransform builders to accept either planner or a 
configuration object;

 - building QueryTransforms in BeamSqlCli;



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

Reply via email to