allegro / allegro/json-avro-converter

Failed to convert JSON to Avro

未关闭
#26 2 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看
主要语言
Groovy
星标
286
派生
98
PR 合并指标
30 天内没有已合并 PR

描述

I'm getting the following exception:
`Caused by: org.apache.avro.AvroRuntimeException: Field deviceid type:LONG pos:0 not set and has no default value
`
for Json entry `"device_id":6854`

the schema for this field looks like this:
`{"name":"deviceid","type":"long","doc":" The id of the device.","aliases":["device_id","device/id"]} `

Is this because the codebase does not take aliases into account?

贡献指南

这个仓库没有索引到贡献指南

评估

这个 Issue 还没有评估数据。

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。