Uploaded image for project: 'Hive'
  1. Hive
  2. HIVE-5128

Direct SQL for view is failing

Log workAgile BoardRank to TopRank to BottomBulk Copy AttachmentsBulk Move AttachmentsVotersWatch issueWatchersCreate sub-taskConvert to sub-taskMoveLinkCloneLabelsUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Trivial
    • Resolution: Fixed
    • None
    • 0.12.0
    • Query Processor
    • None

    Description

      I cannot sure of this, but dropping views, (it rolls back to JPA and works fine)

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

      Should it be disabled for views or can be fixed?

      Attachments

        1. HIVE-5128.D12465.1.patch
          7 kB
          Phabricator
        2. HIVE-5128.D12465.2.patch
          7 kB
          Phabricator

        Issue Links

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            sershe Sergey Shelukhin Assign to me
            navis Navis Ryu
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment