You are viewing a plain text version of this content. The canonical link for it is here.
Posted to gitbox@hive.apache.org by GitBox <gi...@apache.org> on 2019/12/12 09:03:34 UTC

[GitHub] [hive] WangGuangxin opened a new pull request #865: [HIVE-22634]Improperly SemanticException when filter is optimized to False on a partition table

WangGuangxin opened a new pull request #865: [HIVE-22634]Improperly SemanticException when filter is optimized to False on a partition table
URL: https://github.com/apache/hive/pull/865
 
 
   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
   ```
   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;
   ```
   
   The above sql will throw "Queries against partitioned tables without a partition filter"  exception.

----------------------------------------------------------------
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


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: gitbox-unsubscribe@hive.apache.org
For additional commands, e-mail: gitbox-help@hive.apache.org