java.lang.IllegalArgumentException: Avro schema must be a record.

tip
Do you know that we can give you better hits? Get more relevant results from Samebug’s stack trace search.
  1. 0

    Avro: convert UNION schema to RECORD schema

    Stack Overflow | 8 months ago | Vitaliy Kotlyarenko
    java.lang.IllegalArgumentException: Avro schema must be a record.

    Root Cause Analysis

    1. java.lang.IllegalArgumentException

      Avro schema must be a record.

      at parquet.avro.AvroSchemaConverter.convert()
    2. parquet.avro
      AvroParquetWriter.<init>
      1. parquet.avro.AvroSchemaConverter.convert(AvroSchemaConverter.java:96)
      2. parquet.avro.AvroParquetWriter.writeSupport(AvroParquetWriter.java:137)
      3. parquet.avro.AvroParquetWriter.<init>(AvroParquetWriter.java:54)
      4. parquet.avro.AvroParquetWriter.<init>(AvroParquetWriter.java:86)
      4 frames