[
https://issues.apache.org/jira/browse/BEAM-4173?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Anton Kedin closed BEAM-4173.
-----------------------------
Resolution: Fixed
Assignee: Anton Kedin
Fix Version/s: Not applicable
Deleted BeamSql
Renamed QueryTransform -> SqlTransform
Hidden the planner behind BeamSqlEnv
> [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
> Assignee: Anton Kedin
> Priority: Major
> Fix For: Not applicable
>
>
> 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)