Uploaded image for project: 'Apache Hudi'
  1. Apache Hudi
  2. HUDI-6948

HoodieAvroParquetReader sets configs wrong (and prevents schema evolution with non row writer)

    XMLWordPrintableJSON

Details

    Description

      tryOverrideDefaultConfigs sets the wrong config object. Inside the reader there are 2 different config objects. 

      Setting the configs like 

      ParquetReader<IndexedRecord> reader = new HoodieAvroParquetReaderBuilder<IndexedRecord>(path).withConf(conf)
      .set(ParquetInputFormat.STRICT_TYPE_CHECKING, "false")
      .set(AvroSchemaConverter.ADD_LIST_ELEMENT_RECORDS, "false")
      .build(); 

      will set the correct object I believe

      Attachments

        Issue Links

          Activity

            People

              jonvex Jonathan Vexler
              jonvex Jonathan Vexler
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: