hive-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Phabricator (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (HIVE-5128) Direct SQL for view is failing
Date Mon, 26 Aug 2013 23:16:52 GMT

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

Phabricator updated HIVE-5128:
------------------------------

    Attachment: HIVE-5128.D12465.2.patch

sershe updated the revision "HIVE-5128 [jira] Direct SQL for view is failing".

  Updated the patch. I tested the example, seems to work now on my setup.

Reviewers: JIRA

REVISION DETAIL
  https://reviews.facebook.net/D12465

CHANGE SINCE LAST DIFF
  https://reviews.facebook.net/D12465?vs=38727&id=39039#toc

AFFECTED FILES
  metastore/src/java/org/apache/hadoop/hive/metastore/MetaStoreDirectSql.java
  metastore/src/java/org/apache/hadoop/hive/metastore/ObjectStore.java

To: JIRA, sershe

                
> Direct SQL for view is failing 
> -------------------------------
>
>                 Key: HIVE-5128
>                 URL: https://issues.apache.org/jira/browse/HIVE-5128
>             Project: Hive
>          Issue Type: Bug
>          Components: Query Processor
>            Reporter: Navis
>            Assignee: Sergey Shelukhin
>            Priority: Trivial
>         Attachments: HIVE-5128.D12465.1.patch, HIVE-5128.D12465.2.patch
>
>
> I cannot sure of this, but dropping views, (it rolls back to JPA and works fine)
> {noformat}
> etastore.ObjectStore: Direct SQL failed, falling back to ORM
> MetaException(message:Unexpected null for one of the IDs, SD null, column null, serde
null)
> 	at org.apache.hadoop.hive.metastore.MetaStoreDirectSql.getPartitionsViaSqlFilterInternal(MetaStoreDirectSql.java:195)
> 	at org.apache.hadoop.hive.metastore.MetaStoreDirectSql.getPartitionsViaSqlFilter(MetaStoreDirectSql.java:98)
> 	at org.apache.hadoop.hive.metastore.ObjectStore.getPartitionsByFilter(ObjectStore.java:1758)
> ...
> {noformat}
> Should it be disabled for views or can be fixed?

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Mime
View raw message