[
https://issues.apache.org/jira/browse/HIVE-18482?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16330649#comment-16330649
]
Jesus Camacho Rodriguez commented on HIVE-18482:
------------------------------------------------
Thanks for catching this [~olegd].
[~ashutoshc], could you review? Thanks
> Copy-paste error in the RelOptHiveTable
> ---------------------------------------
>
> Key: HIVE-18482
> URL: https://issues.apache.org/jira/browse/HIVE-18482
> Project: Hive
> Issue Type: Bug
> Reporter: Oleg Danilov
> Assignee: Jesus Camacho Rodriguez
> Priority: Trivial
> Attachments: HIVE-18482.patch
>
>
> There are two similar conditions with the same issue: or expression where
> both sides are the same
> {code:java}
> if (pkPos == rowType.getFieldNames().size()
> || pkPos == rowType.getFieldNames().size()) {
> {code}
> and
> {code:java}
> if (ukPos == rowType.getFieldNames().size()
> || ukPos == rowType.getFieldNames().size()) {
> {code}
> [~jcamachorodriguez], could you please check this, since they were introduced
> in HIVE-17054.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)