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

Direct SQL for view is failing

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Trivial
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 0.12.0
    • Component/s: Query Processor
    • Labels:
      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

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

                Dates

                • Created:
                  Updated:
                  Resolved: