VenuReddy2103 commented on a change in pull request #4110:
URL: https://github.com/apache/carbondata/pull/4110#discussion_r609675717
##########
File path:
integration/presto/src/main/prestodb/org/apache/carbondata/presto/impl/CarbonTableReader.java
##########
@@ -270,6 +270,7 @@ private CarbonTableCacheModel
getValidCacheBySchemaTableName(SchemaTableName sch
config.set("query.id", queryId);
CarbonInputFormat.setTransactionalTable(config,
carbonTable.isTransactionalTable());
CarbonInputFormat.setTableInfo(config, carbonTable.getTableInfo());
+
CarbonInputFormat.checkAndSetSecondaryIndexPruning(carbonTable.getTableInfo(),
filters, config);
Review comment:
Agreed. NI UDF is not supported. Using the same property for Presto
also. By default, property is true for Presto. If user do not wish to use the
secondary indexes in the query pruning, need to explicitly configure this
property to false.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]