You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hive.apache.org by "ASF GitHub Bot (Jira)" <ji...@apache.org> on 2021/05/12 19:08:00 UTC

[jira] [Work logged] (HIVE-24608) Switch back to get_table in HMS client for Hive 2.3.x

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

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

                Author: ASF GitHub Bot
            Created on: 12/May/21 19:07
            Start Date: 12/May/21 19:07
    Worklog Time Spent: 10m 
      Work Description: sunchao commented on pull request #2080:
URL: https://github.com/apache/hive/pull/2080#issuecomment-840028939


   cc @szehon-ho could you help to review this? Thanks!


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


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

    Worklog Id:     (was: 595552)
    Time Spent: 20m  (was: 10m)

> Switch back to get_table in HMS client for Hive 2.3.x
> -----------------------------------------------------
>
>                 Key: HIVE-24608
>                 URL: https://issues.apache.org/jira/browse/HIVE-24608
>             Project: Hive
>          Issue Type: Bug
>          Components: Metastore
>    Affects Versions: 2.3.7
>            Reporter: Chao Sun
>            Priority: Major
>              Labels: pull-request-available
>          Time Spent: 20m
>  Remaining Estimate: 0h
>
> HIVE-15062 introduced a backward-incompatible change by replacing {{get_table}} with {{get_table_req}}. As consequence, when HMS client w/ version > 2.3 talks to a HMS w/ version < 2.3, it will get error similar to the following:
> {code}
> AnalysisException: org.apache.hadoop.hive.ql.metadata.HiveException: Unable to fetch table testpartitiondata. Invalid method name: 'get_table_req';
> {code}
> Looking at HIVE-15062, the {{get_table_req}} is to introduce client-side check for capabilities. However in branch-2.3 the check is a no-op since there is no capability yet (it is assigned to null). Therefore, this JIRA proposes to switch back to {{get_table}} in branch-2.3 to fix the compatibility issue.



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