You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hive.apache.org by "Marton Bod (Jira)" <ji...@apache.org> on 2020/12/15 14:13:00 UTC
[jira] [Created] (HIVE-24541) Add config to set a default storage
handler class
Marton Bod created HIVE-24541:
---------------------------------
Summary: Add config to set a default storage handler class
Key: HIVE-24541
URL: https://issues.apache.org/jira/browse/HIVE-24541
Project: Hive
Issue Type: Improvement
Reporter: Marton Bod
Assignee: Marton Bod
Add a config param "hive.default.storage.handler.class" so we can set a default storage handler class that can be used for all create table statements. By default it would be an empty string, taking no effect.
This would allow existing user queries to be reused for a new table format for example, such as Iceberg.
For example, after setting in the config: hive.default.storage.handler.class= org.apache.iceberg.mr.hive.HiveIcebergStorageHandler
The query: CREATE TABLE abc (a int, b string) LOCATION ...
would be equivalent to: CREATE TABLE abc (a int, b string) STORED BY 'org.apache.iceberg.mr.hive.HiveIcebergStorageHandler' LOCATION ...
--
This message was sent by Atlassian Jira
(v8.3.4#803005)