[ 
https://issues.apache.org/jira/browse/HIVE-12727?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15120183#comment-15120183
 ] 

Sergey Shelukhin edited comment on HIVE-12727 at 1/27/16 9:24 PM:
------------------------------------------------------------------

The changes in non-negative tests are caused by CBO being invoked again (for 
some reason, CBO is not invoked in strict mode specifically in tests 
(HIVE_IN_TEST)). If there are any issues in plan changes, these are separate 
CBO bugs. None of the query results change.


was (Author: sershe):
The changes in non-negative tests are caused by CBO being invoked again (for 
some reason, CBO is not invoked for tests in strict mode). If there are any 
issues in plan changes, these are separate CBO bugs. None of the query results 
change.

> refactor Hive strict checks to be more granular, allow order by no limit and 
> no partition filter by default for now
> -------------------------------------------------------------------------------------------------------------------
>
>                 Key: HIVE-12727
>                 URL: https://issues.apache.org/jira/browse/HIVE-12727
>             Project: Hive
>          Issue Type: Bug
>            Reporter: Sergey Shelukhin
>            Assignee: Sergey Shelukhin
>            Priority: Blocker
>         Attachments: HIVE-12727.01.patch, HIVE-12727.02.patch, 
> HIVE-12727.03.patch, HIVE-12727.04.patch, HIVE-12727.05.patch, 
> HIVE-12727.06.patch, HIVE-12727.patch
>
>
> Making strict mode the default recently appears to have broken many normal 
> queries, such as some TPCDS benchmark queries, e.g. Q85:
> Response message: org.apache.hive.service.cli.HiveSQLException: Error while 
> compiling statement: FAILED: SemanticException [Error 10041]: No partition 
> predicate found for Alias "web_sales" Table "web_returns"
> We should remove this restriction from strict mode, or change the default 
> back to non-strict. Perhaps make a 3-value parameter, nonstrict, semistrict, 
> and strict, for backward compat for people who are relying on strict already.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to