Details
-
Sub-task
-
Status: Open
-
Major
-
Resolution: Unresolved
-
None
-
None
-
None
Description
Based on an object name (such as a table or view) and an optional tenant_id and timestamp, we should be able to construct all the explicitly defined columns and data types of an object. (Obviously, we can't do this for dynamic columns.)
From these fields, we should be able to construct a schema for the object and return it to the user. While this JIRA will focus on Avro, the output format should be pluggable so that other implementations could output to Thrift or Protobuf, and PHOENIX-4286 could use it to output as SQL CREATE statements.
Attachments
Issue Links
- is depended upon by
-
PHOENIX-4286 Create EXPORT SCHEMA command
- Open
-
PHOENIX-5054 "look up" the `CREATE TABLE` statement used for a table
- Open