hive-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hari Sankar Sivarama Subramaniyan (JIRA)" <>
Subject [jira] [Commented] (HIVE-13076) Implement FK/PK "rely novalidate" constraints for better CBO
Date Wed, 11 May 2016 21:54:13 GMT


Hari Sankar Sivarama Subramaniyan commented on HIVE-13076:

I have added the basic documentation as a pdf.


> Implement FK/PK "rely novalidate" constraints for better CBO
> ------------------------------------------------------------
>                 Key: HIVE-13076
>                 URL:
>             Project: Hive
>          Issue Type: Improvement
>          Components: CBO, Logical Optimizer
>            Reporter: Ruslan Dautkhanov
>            Assignee: Hari Sankar Sivarama Subramaniyan
>             Fix For: 2.1.0
> Oracle has "RELY NOVALIDATE" option for constraints.. Could be easier for Hive to start
with something like that for PK/FK constraints. So CBO has more information for optimizations.
It does not have to actually check if that constraint is relationship is true; it can just
"rely" on that constraint.. 
> So it would be helpful with join cardinality estimates, and with cases like this -

This message was sent by Atlassian JIRA

View raw message