hive-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF GitHub Bot (Jira)" <j...@apache.org>
Subject [jira] [Work logged] (HIVE-22634) Improperly SemanticException when filter is optimized to False on a partition table
Date Sun, 06 Sep 2020 00:48:00 GMT

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

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

                Author: ASF GitHub Bot
            Created on: 06/Sep/20 00:47
            Start Date: 06/Sep/20 00:47
    Worklog Time Spent: 10m 
      Work Description: github-actions[bot] commented on pull request #865:
URL: https://github.com/apache/hive/pull/865#issuecomment-687681763


   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 dev@hive.apache.org 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:
users@infra.apache.org


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

    Worklog Id:     (was: 479379)
    Time Spent: 1h 10m  (was: 1h)

> Improperly SemanticException when filter is optimized to False on a partition table
> -----------------------------------------------------------------------------------
>
>                 Key: HIVE-22634
>                 URL: https://issues.apache.org/jira/browse/HIVE-22634
>             Project: Hive
>          Issue Type: Improvement
>            Reporter: EdisonWang
>            Assignee: EdisonWang
>            Priority: Minor
>              Labels: pull-request-available
>         Attachments: HIVE-22634.patch
>
>          Time Spent: 1h 10m
>  Remaining Estimate: 0h
>
> When filter is optimized to False on a partition table, it will throw improperly SemanticException
reporting that there is no partition predicate found.
> The step to reproduce is
> {code:java}
> set hive.strict.checks.no.partition.filter=true;
> CREATE TABLE test(id int, name string)PARTITIONED BY (`date` string);
> select * from test where `date` = '20191201' and 1<>1;
> {code}
>  
> The above sql will throw "Queries against partitioned tables without a partition filter" 
exception.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Mime
View raw message