Skip to content

Commit

Permalink
fix wrong config
Browse files Browse the repository at this point in the history
  • Loading branch information
Huaxin Gao committed May 1, 2024
1 parent 9ac72ef commit c457600
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion common/src/main/java/org/apache/comet/parquet/Utils.java
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,8 @@ public static ColumnReader getColumnReader(
DataType type, ColumnDescriptor descriptor, int batchSize, SQLConf conf) {
boolean useDecimal128 = (Boolean) CometConf.COMET_USE_DECIMAL_128().get(conf);
boolean useLazyMaterialization = (Boolean) CometConf.COMET_USE_LAZY_MATERIALIZATION().get(conf);
boolean useLegacyDateTimestamp = (Boolean) CometConf.COMET_USE_DECIMAL_128().get(conf);
boolean useLegacyDateTimestamp =
(Boolean) CometConf.COMET_EXCEPTION_ON_LEGACY_DATE_TIMESTAMP().get(conf);
return getColumnReader(
type, descriptor, batchSize, useDecimal128, useLazyMaterialization, useLegacyDateTimestamp);
}
Expand Down

0 comments on commit c457600

Please sign in to comment.