You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@beam.apache.org by "Andrew Pilloud (Jira)" <ji...@apache.org> on 2021/05/11 02:38:00 UTC
[jira] [Commented] (BEAM-12323) CalciteUtils .CharType should be
generic like logicaltypes.FixedBytes
[ https://issues.apache.org/jira/browse/BEAM-12323?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17342259#comment-17342259 ]
Andrew Pilloud commented on BEAM-12323:
---------------------------------------
This came from a customer bug report on the user@ mailing list:
https://lists.apache.org/thread.html/ra25f142ed3f66f743347ff842ecc0a41b52e7befbc64a1b2fdabb08a%40%3Cuser.beam.apache.org%3E
{code:java}
Exception in thread "main" java.lang.RuntimeException: Unhandled logical type SqlCharType at org.apache.beam.sdk.schemas.utils.AvroUtils.getFieldSchema(AvroUtils.java:911) at org.apache.beam.sdk.schemas.utils.AvroUtils.toAvroField(AvroUtils.java:306) at org.apache.beam.sdk.schemas.utils.AvroUtils.toAvroSchema(AvroUtils.java:341) at org.apache.beam.sdk.schemas.utils.AvroUtils.toAvroSchema(AvroUtils.java:348) {code}
> CalciteUtils .CharType should be generic like logicaltypes.FixedBytes
> ---------------------------------------------------------------------
>
> Key: BEAM-12323
> URL: https://issues.apache.org/jira/browse/BEAM-12323
> Project: Beam
> Issue Type: Bug
> Components: dsl-sql, sdk-java-core
> Reporter: Andrew Pilloud
> Priority: P2
>
> We have a special "CalciteUtils.CharType" for fixed size char, that should be replaced with a core type like logicaltypes.FixedBytes and support added to AvroUtils and others.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)