You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@phoenix.apache.org by "Xinyi Yan (Jira)" <ji...@apache.org> on 2019/09/25 23:27:00 UTC
[jira] [Commented] (PHOENIX-5054) "look up" the `CREATE TABLE`
statement used for a table
[ https://issues.apache.org/jira/browse/PHOENIX-5054?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16938131#comment-16938131 ]
Xinyi Yan commented on PHOENIX-5054:
------------------------------------
[~elserj] Yes, I do want to implement this feature, but I think Geoffrey is going to implement API to Generate Avro Schema of Phoenix Object, see PHOENIX-5443 , so this will have help us to get schema. Should we wait his implementation? even logs all critical statements to SYSTEM.LOG PHOENIX-5034 is not done yet, let's see how it goes and decide implementation.
> "look up" the `CREATE TABLE` statement used for a table
> -------------------------------------------------------
>
> Key: PHOENIX-5054
> URL: https://issues.apache.org/jira/browse/PHOENIX-5054
> Project: Phoenix
> Issue Type: New Feature
> Reporter: Josh Elser
> Priority: Major
> Labels: phoenix-hardening
>
> This is a super common problem we run into:
> # User files report/complaint
> # We ask for DDLs for table and any indexes
> # We receive the output of `describe <table>` from the HBase shell
> Presumably, we have all of the necessary information inside of {{SYSTEM.CATALOG}}, we could recreate the {{CREATE TABLE}} statement for a table, no? I think it would be super helpful to, at a given point in time, obtain the {{CREATE TABLE}} statement to recreate a table as it currently exists.
> Split points might be the only thing we can't explicitly do via Phoenix, but that's pretty minor compared to everything else.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)