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

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

                Author: ASF GitHub Bot
            Created on: 14/Oct/19 20:33
            Start Date: 14/Oct/19 20:33
    Worklog Time Spent: 10m 
      Work Description: jcamachor commented on pull request #809: HIVE-22274: 
upgrade Calcite to 1.21
URL: https://github.com/apache/hive/pull/809#discussion_r334651216
 
 

 ##########
 File path: 
ql/src/java/org/apache/hadoop/hive/ql/optimizer/calcite/rules/jdbc/HiveJdbcImplementor.java
 ##########
 @@ -109,7 +109,7 @@ public HiveJdbcImplementor(SqlDialect dialect, 
JavaTypeFactory typeFactory) {
     SqlNode sqlCondition = null;
     SqlLiteral condType = JoinConditionType.ON.symbol(POS);
     JoinType joinType = joinType(e.getJoinType());
-    if (e.getJoinType() == JoinRelType.INNER && 
e.getCondition().isAlwaysTrue()) {
+    if ((e.getJoinType() == JoinRelType.INNER || e.isSemiJoin()) && 
e.getCondition().isAlwaysTrue()) {
 
 Review comment:
   `ql/src/test/queries/clientpositive/external_jdbc_table*` files contain 
tests for jdbc storage handler. We should add a test over there.
 
----------------------------------------------------------------
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:
us...@infra.apache.org


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

    Worklog Id:     (was: 328123)
    Time Spent: 40m  (was: 0.5h)

> Upgrade Calcite version to 1.21.0
> ---------------------------------
>
>                 Key: HIVE-22274
>                 URL: https://issues.apache.org/jira/browse/HIVE-22274
>             Project: Hive
>          Issue Type: Task
>    Affects Versions: 3.1.2
>            Reporter: Steve Carlin
>            Assignee: Steve Carlin
>            Priority: Major
>              Labels: pull-request-available
>         Attachments: HIVE-22274.1.patch, HIVE-22274.2.patch, 
> HIVE-22274.3.patch, HIVE-22274.4.patch, HIVE-22274.5.patch, 
> HIVE-22274.6.patch, HIVE-22274.7.patch, HIVE-22274.patch
>
>          Time Spent: 40m
>  Remaining Estimate: 0h
>




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

Reply via email to