[ 
https://issues.apache.org/jira/browse/HUDI-6948?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Jonathan Vexler updated HUDI-6948:
----------------------------------
    Summary: HoodieAvroParquetReader sets configs wrong (and prevents schema 
evolution with non row writer)  (was: HoodieAvroParquetReader sets configs 
wrong)

> HoodieAvroParquetReader sets configs wrong (and prevents schema evolution 
> with non row writer)
> ----------------------------------------------------------------------------------------------
>
>                 Key: HUDI-6948
>                 URL: https://issues.apache.org/jira/browse/HUDI-6948
>             Project: Apache Hudi
>          Issue Type: Bug
>            Reporter: Jonathan Vexler
>            Assignee: Jonathan Vexler
>            Priority: Critical
>              Labels: pull-request-available
>             Fix For: 0.16.0, 1.0.0, 0.15.1
>
>
> tryOverrideDefaultConfigs sets the wrong config object. Inside the reader 
> there are 2 different config objects. 
> Setting the configs like 
> {code:java}
> ParquetReader<IndexedRecord> reader = new 
> HoodieAvroParquetReaderBuilder<IndexedRecord>(path).withConf(conf)
> .set(ParquetInputFormat.STRICT_TYPE_CHECKING, "false")
> .set(AvroSchemaConverter.ADD_LIST_ELEMENT_RECORDS, "false")
> .build(); {code}
> will set the correct object I believe



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to