[ 
https://issues.apache.org/jira/browse/HIVE-26827?focusedWorklogId=855020&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-855020
 ]

ASF GitHub Bot logged work on HIVE-26827:
-----------------------------------------

                Author: ASF GitHub Bot
            Created on: 05/Apr/23 10:57
            Start Date: 05/Apr/23 10:57
    Worklog Time Spent: 10m 
      Work Description: tarak271 commented on code in PR #4200:
URL: https://github.com/apache/hive/pull/4200#discussion_r1158356316


##########
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:
   Thank you @TuroczyX for reviewing. I have made the change as recommended. 





Issue Time Tracking
-------------------

    Worklog Id:     (was: 855020)
    Time Spent: 0.5h  (was: 20m)

> 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: 0.5h
>  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)

Reply via email to