[
https://issues.apache.org/jira/browse/HIVE-26827?focusedWorklogId=855009&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-855009
]
ASF GitHub Bot logged work on HIVE-26827:
-----------------------------------------
Author: ASF GitHub Bot
Created on: 05/Apr/23 09:52
Start Date: 05/Apr/23 09:52
Worklog Time Spent: 10m
Work Description: TuroczyX commented on code in PR #4200:
URL: https://github.com/apache/hive/pull/4200#discussion_r1158287304
##########
ql/src/java/org/apache/hadoop/hive/ql/io/parquet/LeafFilterFactory.java:
##########
@@ -37,6 +37,9 @@
public class LeafFilterFactory {
private static final Logger LOG =
LoggerFactory.getLogger(LeafFilterFactory.class);
+ public static final String MESSAGE = "Conversion to Parquet FilterPredicate
not supported for %s "
Review Comment:
The error message is a bit clunky. ( Don't take it personal :) )
I would use the following error message. I think it is more expressive.
_The conversion to Parquet FilterPredicate is not supported for %s. Please
try to set the following configurations at the session level: ...._
Issue Time Tracking
-------------------
Worklog Id: (was: 855009)
Time Spent: 20m (was: 10m)
> Add configs in error message to workaround predicate issue with Parquet on
> TIMESTAMP data type
> ----------------------------------------------------------------------------------------------
>
> Key: HIVE-26827
> URL: https://issues.apache.org/jira/browse/HIVE-26827
> Project: Hive
> Issue Type: Improvement
> Reporter: Taraka Rama Rao Lethavadla
> Assignee: Taraka Rama Rao Lethavadla
> Priority: Minor
> Labels: pull-request-available
> Time Spent: 20m
> Remaining Estimate: 0h
>
> The below query fails with error
> {noformat}
> select * from db.parquet_table_with_timestamp where created_date_utc between
> '2022-11-05 00:01:01' and '2022-11-08 23:59:59'{noformat}
>
> We can workaround the issue below
>
> {noformat}
> 2022-11-10 06:43:36,751 [ERROR] [TezChild]
> |read.ParquetFilterPredicateConverter|: fail to build predicate filter leaf
> with errors org.apache.hadoop.hive.ql.metadata.HiveException: Conversion to
> Parquet FilterPredicate not supported for TIMESTAMP{noformat}
> by setting configs at session level
> # set hive.optimize.index.filter=false;
> # set hive.optimize.ppd=false;
> As part of this Jira proposing to add these config info to the above message
> so that who ever encounter this problem can try the workaround
>
--
This message was sent by Atlassian Jira
(v8.20.10#820010)