[ 
https://issues.apache.org/jira/browse/HIVE-24609?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

chris mar reassigned HIVE-24609:
--------------------------------

          Component/s:     (was: Query Planning)
                       API
    Affects Version/s:     (was: 3.1.0)
                       2.1.1
             Assignee: chris mar  (was: Printer Setup)
          Environment: 
It can not be execute,When I used the alter_partitions API in Hive 2.1.1 to 
modify the partition information in Hive 1.1.0, it didn't work. The underlying 
code implementation was responsive, but it wasn't exposed

here is my code:
{quote}public static void descFormatTable(String dbName, String tableName) {
 try {
 String confPath = "hive-site.xml";
 HiveConf hc = new HiveConf();
 hc.addResource(confPath);
 HiveMetaStoreClient hmsc = new HiveMetaStoreClient(hc);
 hmsc.alter_partitions(dbName, tableName, list);
 } catch (TException e) {
 e.printStackTrace();
 }
 
 }
{quote}
             Priority: Major  (was: Blocker)

> Fix ArrayIndexOutOfBoundsException when execute full outer join
> ---------------------------------------------------------------
>
>                 Key: HIVE-24609
>                 URL: https://issues.apache.org/jira/browse/HIVE-24609
>             Project: Hive
>          Issue Type: Bug
>          Components: API
>    Affects Versions: 2.1.1
>         Environment: It can not be execute,When I used the alter_partitions 
> API in Hive 2.1.1 to modify the partition information in Hive 1.1.0, it 
> didn't work. The underlying code implementation was responsive, but it wasn't 
> exposed
> here is my code:
> {quote}public static void descFormatTable(String dbName, String tableName) {
>  try {
>  String confPath = "hive-site.xml";
>  HiveConf hc = new HiveConf();
>  hc.addResource(confPath);
>  HiveMetaStoreClient hmsc = new HiveMetaStoreClient(hc);
>  hmsc.alter_partitions(dbName, tableName, list);
>  } catch (TException e) {
>  e.printStackTrace();
>  }
>  
>  }
> {quote}
>            Reporter: jufeng li
>            Assignee: chris mar
>            Priority: Major
>              Labels: pull-request-available
>             Fix For: 4.0.0
>
>          Time Spent: 1h
>  Remaining Estimate: 0h
>
> here is my hive-sql:
> {code:java}
> select 
> ......
>  from A 
>  full outer join B on A.id = B.id
> {code}
>  
> It can not be execute,I got an ArrayIndexOutOfBoundsException.Then I debug 
> HiveServer2,found when compile sql in some situation and contains full outer 
> join,there is an ArrayIndexOutOfBoundsException.



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

Reply via email to