[
https://issues.apache.org/jira/browse/BEAM-3633?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17145264#comment-17145264
]
Beam JIRA Bot commented on BEAM-3633:
-------------------------------------
This issue was marked "stale-P2" and has not received a public comment in 14
days. It is now automatically moved to P3. If you are still affected by it, you
can comment and move it back to P2.
> [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
> Priority: P3
>
> 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
(v8.3.4#803005)