[
https://issues.apache.org/jira/browse/HIVE-24940?focusedWorklogId=607463&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-607463
]
ASF GitHub Bot logged work on HIVE-24940:
-----------------------------------------
Author: ASF GitHub Bot
Created on: 06/Jun/21 00:18
Start Date: 06/Jun/21 00:18
Worklog Time Spent: 10m
Work Description: github-actions[bot] commented on pull request #2131:
URL: https://github.com/apache/hive/pull/2131#issuecomment-855314855
This pull request has been automatically marked as stale because it has not
had recent activity. It will be closed if no further activity occurs.
Feel free to reach out on the [email protected] list if the patch is in
need of reviews.
--
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]
Issue Time Tracking
-------------------
Worklog Id: (was: 607463)
Time Spent: 20m (was: 10m)
> PartitionPruner may reject partitionfilter expressions evaluating to unknown
> if the filter is safe
> --------------------------------------------------------------------------------------------------
>
> Key: HIVE-24940
> URL: https://issues.apache.org/jira/browse/HIVE-24940
> Project: Hive
> Issue Type: Improvement
> Reporter: Zoltan Haindrich
> Assignee: Zoltan Haindrich
> Priority: Major
> Labels: pull-request-available
> Time Spent: 20m
> Remaining Estimate: 0h
>
> {code}
> CREATE TABLE t1pstring (col1 string) PARTITIONED BY (p1 string);
> INSERT INTO t1pstring PARTITION (p1) VALUES
> ("2020","2020"),("2021","2021"),("2021_backup","2021_backup"),('8888','8888'),('88889','88889'),('8888_a','8888_a'),('a8888','a8888');
> explain extended SELECT count(*) FROM t1pstring WHERE p1=8888;
> [...]
> | Truncated Path -> Alias: |
> | /t1pstring/p1=2021_backup [t1pstring] |
> | /t1pstring/p1=8888 [t1pstring] |
> | /t1pstring/p1=8888_a [t1pstring] |
> | /t1pstring/p1=a8888 [t1pstring] |
> [...]
> {code}
> note:
> * for all values which are interpretable as integers - the equals is
> evaluated and the result is false
> * for {{NULL}} values and for non-integer values ({{a8888}}) the comparision
> results a {{NULL}} which is retained
> * {{NULL}} -s are retained because there is a preprocessing step which
> removes functions which are dependant of non-partition columns as well - and
> replaces them with a {{NULL}}
--
This message was sent by Atlassian Jira
(v8.3.4#803005)