Affected Version
0.17.0 branch
Description
Here's the stack trace.
org.apache.druid.java.util.common.IAE: At least one of [Property{name='hasHeaderRow', value=null}, Property{name='findColumnsFromHeader', value=null}] must be present
at org.apache.druid.indexer.Checks.checkOneNotNullOrEmpty(Checks.java:44)
at org.apache.druid.data.input.impl.DelimitedInputFormat.<init>(DelimitedInputFormat.java:100)
at org.apache.druid.data.input.impl.CsvInputFormat.<init>(CsvInputFormat.java:39)
findColumnsFromHeader should have different default values depending on columns. If columns is null, there should be no default value for findColumnsFromHeader so that users can be notified if columns is missing by mistake. If columns is not null, findColumnsFromHeader should be defaulted to false.
Affected Version
0.17.0 branch
Description
Here's the stack trace.
findColumnsFromHeadershould have different default values depending oncolumns. Ifcolumnsis null, there should be no default value forfindColumnsFromHeaderso that users can be notified ifcolumnsis missing by mistake. Ifcolumnsis not null,findColumnsFromHeadershould be defaulted to false.