allegro / allegro/json-avro-converter

Failed to convert JSON to Avro

Đang mở
#26 2 bình luận 0 reaction 0 người được giao Xem trên GitHub
Ngôn ngữ chính
Groovy
Star
286
Fork
98
Chỉ số merge pull request
Không có pull request nào được merge trong 30 ngày

Mô tả

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?

Hướng dẫn đóng góp

Chưa lập chỉ mục được hướng dẫn đóng góp cho kho mã nguồn này

Đánh giá

Issue này chưa được đánh giá.

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.