You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hive.apache.org by "Phabricator (JIRA)" <ji...@apache.org> on 2013/08/23 00:13:54 UTC

[jira] [Updated] (HIVE-5128) Direct SQL for view is failing

     [ 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.1.patch

sershe requested code review of "HIVE-5128 [jira] Direct SQL for view is failing".

Reviewers: JIRA

Adding the checks for the view, and support for absence of SD, CD and SERDE

TEST PLAN
  EMPTY

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

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

MANAGE HERALD RULES
  https://reviews.facebook.net/herald/view/differential/

WHY DID I GET THIS EMAIL?
  https://reviews.facebook.net/herald/transcript/29853/

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