[ 
https://issues.apache.org/jira/browse/AVRO-3476?focusedWorklogId=787375&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-787375
 ]

ASF GitHub Bot logged work on AVRO-3476:
----------------------------------------

                Author: ASF GitHub Bot
            Created on: 03/Jul/22 07:32
            Start Date: 03/Jul/22 07:32
    Worklog Time Spent: 10m 
      Work Description: KalleOlaviNiemitalo commented on PR #1634:
URL: https://github.com/apache/avro/pull/1634#issuecomment-1173029441

   The local timestamp logical types could be added to the interop tests, to 
verify that the values roundtrip correctly between languages. These tests would 
then have to be run in an environment where the local time is not UTC, to 
detect if one language uses UTC for conversions and another uses local time.




Issue Time Tracking
-------------------

    Worklog Id:     (was: 787375)
    Time Spent: 1h 20m  (was: 1h 10m)

> Python implementation does not support local-timestamp-micros and 
> local-timestamp-millis
> ----------------------------------------------------------------------------------------
>
>                 Key: AVRO-3476
>                 URL: https://issues.apache.org/jira/browse/AVRO-3476
>             Project: Apache Avro
>          Issue Type: Bug
>          Components: python
>    Affects Versions: 1.11.0
>            Reporter: Eric
>            Priority: Major
>              Labels: pull-request-available
>          Time Spent: 1h 20m
>  Remaining Estimate: 0h
>
> Even though [they are present in the 
> spec|https://avro.apache.org/docs/1.11.0/spec.html#Local+timestamp+(millisecond+precision)],
>  the Python implementation does not support logical types 
> local-timestamp-micros and local-timestamp-millis.
> When trying to use them, you get the following:
> {code:python}
> .../lib/python3.8/site-packages/avro/schema.py:1048: IgnoredLogicalType: 
> Unknown local-timestamp-micros, using long.
> {code}



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to