Riju Trivedi created HIVE-29484:
-----------------------------------

             Summary: HMS.getFields() fails with "Storage schema reading not 
supported" for Avro and Hbase tables
                 Key: HIVE-29484
                 URL: https://issues.apache.org/jira/browse/HIVE-29484
             Project: Hive
          Issue Type: Bug
          Components: Standalone Metastore
    Affects Versions: 4.2.0
            Reporter: Riju Trivedi
            Assignee: Riju Trivedi


When HMS.get_fields() (or get_fields_with_environment_context()) is called for 
a table with AvroSerDe or HBaseSerDe, it throws:
{code:java}
MetaException: java.lang.UnsupportedOperationException: Storage schema reading 
not supported{code}
This surfaces as an end-user-visible error in tools that call getFields() on 
the metastore like adding Ranger policy for column lookup
{code:java}
Caused by: org.apache.hadoop.hive.metastore.api.MetaException: 
java.lang.UnsupportedOperationException: Storage schema reading not supported
    at 
org.apache.hadoop.hive.metastore.api.ThriftHiveMetastore$Client.get_fields(ThriftHiveMetastore.java:1845)
    at 
org.apache.hadoop.hive.metastore.HiveMetaStoreClient.getFields(HiveMetaStoreClient.java:3148)
    at 
org.apache.ranger.services.hive.client.HiveClient.getClmListFromHM(HiveClient.java:407){code}
 



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to