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

Direct SQL for view is failing

    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

            People

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

              Dates

                Created:
                Updated:
                Resolved: