Anton Kedin created BEAM-3633:
---------------------------------

             Summary: [SQL] Reduce usage of Calcite's SqlTypeName
                 Key: BEAM-3633
                 URL: https://issues.apache.org/jira/browse/BEAM-3633
             Project: Beam
          Issue Type: Improvement
          Components: dsl-sql
            Reporter: Anton Kedin


We still use Calcite's SqlTypeName as type of BeamSqlExpression and few other 
places. This leaks implementation details, and complicates logic, we now have 
to keep two-way mapping between Beam coders and Calcite's type names.

Feels like we can noticeably simplify the type conversion logic in few places 
by updating BeamSqlExpression and similar classes to use Beam's SqlTypeCoders 
instead of SqlTypeName.

Good place to start is from usages of CalciteUtils.toCalciteType(Coder).

 



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

Reply via email to