You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@avro.apache.org by "ASF GitHub Bot (Jira)" <ji...@apache.org> on 2022/05/03 21:22:00 UTC
[jira] [Work logged] (AVRO-3078) C#: Logical type 'local-timestamp-millis'
[ https://issues.apache.org/jira/browse/AVRO-3078?focusedWorklogId=765703&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-765703 ]
ASF GitHub Bot logged work on AVRO-3078:
----------------------------------------
Author: ASF GitHub Bot
Created on: 03/May/22 21:21
Start Date: 03/May/22 21:21
Worklog Time Spent: 10m
Work Description: martin-g merged PR #1628:
URL: https://github.com/apache/avro/pull/1628
Issue Time Tracking
-------------------
Worklog Id: (was: 765703)
Time Spent: 20m (was: 10m)
> C#: Logical type 'local-timestamp-millis'
> -----------------------------------------
>
> Key: AVRO-3078
> URL: https://issues.apache.org/jira/browse/AVRO-3078
> Project: Apache Avro
> Issue Type: Improvement
> Components: csharp
> Affects Versions: 1.10.2
> Reporter: Vladimir Kralik
> Priority: Critical
> Labels: pull-request-available
> Time Spent: 20m
> Remaining Estimate: 0h
>
> * *as* a programmer
> * *i want* to add support for logical type {{local-timestamp-millis}} for C# code generation
> * *because* {{avrogen}} fails withÂ
> {code:bash}
> > dotnet tool install --global Apache.Avro.Tools --version 1.10.2
> > dotnet tool restore
> Tool 'apache.avro.tools' (version '1.10.2') was restored. Available commands: avrogen
> > dotnet avrogen -p ../thymus.avpr outdir
> Exception occurred. Logical type 'local-timestamp-millis' is not supported.
> {code}
> {code:java}
> {
> "protocol" : "ThymusProtocol",
> "namespace" : "model.thymus",
> "types" : [ {
> "type" : "record",
> "name" : "TMVyk",
> "namespace" : "model.thymus",
> "fields" : [{
> "name" : "cas",
> "type" : {
> "type" : "long",
> "logicalType" : "local-timestamp-millis"
> }
> }]
> } ],
> "messages" : { }
> }
> {code}
--
This message was sent by Atlassian Jira
(v8.20.7#820007)