How to fix Expected start-union. Got VALUE_NUMBER_INT when converting JSON to Avro on the command line?

后端 未结 4 2068
感动是毒
感动是毒 2020-11-27 17:01

I\'m trying to validate a JSON file using an Avro schema and write the corresponding Avro file. First, I\'ve defined the following Avro schema named user.avsc:<

4条回答
  •  挽巷
    挽巷 (楼主)
    2020-11-27 17:43

    There is a new JSON encoder in the works that should address this common issue:

    https://issues.apache.org/jira/browse/AVRO-1582

    https://github.com/zolyfarkas/avro

提交回复
热议问题