[
https://issues.apache.org/jira/browse/HCATALOG-89?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Vandana Ayyalasomayajula updated HCATALOG-89:
---------------------------------------------
Description:
HCatalog CLI currently does not support the "STORED BY" token from HIVE, which
is used to create non-native tables (for example in HBase). This feature will
help users in creating HBase tables and then enable them to read/write to those
tables using the HBase storage handler.
In addition, the "CreateTableHook" during the post analysis phase (
"postAnalyze" method ) checks for authorization to create table. This
authorization would fail as there is no native table for tables created by
"STORED BY" tokens. The "postAnalyze" method should first check if there exists
a storage handler for the DDL task, if yes, then it should not call the
"authorize" method. In future, this authorization process should be pushed to
the storage handlers.
was:HCatalog CLI currently does not support the "STORED BY" token from HIVE,
which is used to create non-native tables (for example in HBase). This feature
will help users in creating HBase tables and then enable them to read/write to
those tables using the HBase storage handler.
> Support for creating non-native tables
> --------------------------------------
>
> Key: HCATALOG-89
> URL: https://issues.apache.org/jira/browse/HCATALOG-89
> Project: HCatalog
> Issue Type: New Feature
> Reporter: Vandana Ayyalasomayajula
> Labels: HBase, Tables
>
> HCatalog CLI currently does not support the "STORED BY" token from HIVE,
> which is used to create non-native tables (for example in HBase). This
> feature will help users in creating HBase tables and then enable them to
> read/write to those tables using the HBase storage handler.
> In addition, the "CreateTableHook" during the post analysis phase (
> "postAnalyze" method ) checks for authorization to create table. This
> authorization would fail as there is no native table for tables created by
> "STORED BY" tokens. The "postAnalyze" method should first check if there
> exists a storage handler for the DDL task, if yes, then it should not call
> the "authorize" method. In future, this authorization process should be
> pushed to the storage handlers.
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira