Giter VIP home page Giter VIP logo

Comments (2)

rayokota avatar rayokota commented on May 20, 2024 2

@richardhuang11 , can you try setting generalized.sum.type.support=true to see if that works for you?

from schema-registry.

richardhuang11 avatar richardhuang11 commented on May 20, 2024

Nice, that seems to have fixed the issue. Thanks!
The field name is now connect_union_field_0 rather than io.confluent.connect.json.OneOf.field.0.

Running into this error now, but it’s probably unrelated to the previous issue.
https://stackoverflow.com/questions/74811594/avro-schema-must-be-a-record

Caused by: java.lang.IllegalArgumentException: Avro schema must be a record.
	at org.apache.parquet.avro.AvroSchemaConverter.convert(AvroSchemaConverter.java:124)
	at org.apache.parquet.avro.AvroParquetWriter.writeSupport(AvroParquetWriter.java:150)
	at org.apache.parquet.avro.AvroParquetWriter.access$200(AvroParquetWriter.java:36)
	at org.apache.parquet.avro.AvroParquetWriter$Builder.getWriteSupport(AvroParquetWriter.java:182)
	at org.apache.parquet.hadoop.ParquetWriter$Builder.build(ParquetWriter.java:563)
	at io.confluent.connect.s3.format.parquet.ParquetRecordWriterProvider$1.write(ParquetRecordWriterProvider.java:102)
	at io.confluent.connect.s3.format.S3RetriableRecordWriter.write(S3RetriableRecordWriter.java:46)
	at io.confluent.connect.s3.format.KeyValueHeaderRecordWriterProvider$1.write(KeyValueHeaderRecordWriterProvider.java:107)
	at io.confluent.connect.s3.TopicPartitionWriter.writeRecord(TopicPartitionWriter.java:562)
	at io.confluent.connect.s3.TopicPartitionWriter.checkRotationOrAppend(TopicPartitionWriter.java:311)
	at io.confluent.connect.s3.TopicPartitionWriter.executeState(TopicPartitionWriter.java:254)
	at io.confluent.connect.s3.TopicPartitionWriter.write(TopicPartitionWriter.java:205)
	at io.confluent.connect.s3.S3SinkTask.put(S3SinkTask.java:234)
	at org.apache.kafka.connect.runtime.WorkerSinkTask.deliverMessages(WorkerSinkTask.java:581)

from schema-registry.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    πŸ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. πŸ“ŠπŸ“ˆπŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❀️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.