You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@beam.apache.org by "Ilango Rajagopal (Jira)" <ji...@apache.org> on 2022/03/09 14:56:00 UTC

[jira] [Commented] (BEAM-7554) datetime and decimal should be logical types

    [ https://issues.apache.org/jira/browse/BEAM-7554?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17503632#comment-17503632 ] 

Ilango Rajagopal commented on BEAM-7554:
----------------------------------------

Due to this issue, cross language transforms are affected. For example, when using ReadFromJdbc transform in python, we get the decimal and datetime as logical types, but they are encoded differently than the underlying representation types, resulting in incorrect values.

> datetime and decimal should be logical types
> --------------------------------------------
>
>                 Key: BEAM-7554
>                 URL: https://issues.apache.org/jira/browse/BEAM-7554
>             Project: Beam
>          Issue Type: Improvement
>          Components: sdk-java-core
>            Reporter: Brian Hulette
>            Priority: P3
>              Labels: Clarified
>          Time Spent: 1h 50m
>  Remaining Estimate: 0h
>
> Currently datetime and decimal are implemented as primitive types in the Java SDK. They should be logical types as documented in https://s.apache.org/beam-schemas



--
This message was sent by Atlassian Jira
(v8.20.1#820001)