You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@phoenix.apache.org by "Geoffrey Jacoby (JIRA)" <ji...@apache.org> on 2019/08/13 21:29:00 UTC

[jira] [Created] (PHOENIX-5443) API to Generate Avro Schema of Phoenix Object

Geoffrey Jacoby created PHOENIX-5443:
----------------------------------------

             Summary: API to Generate Avro Schema of Phoenix Object
                 Key: PHOENIX-5443
                 URL: https://issues.apache.org/jira/browse/PHOENIX-5443
             Project: Phoenix
          Issue Type: Sub-task
            Reporter: Geoffrey Jacoby
            Assignee: Geoffrey Jacoby


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. 



--
This message was sent by Atlassian JIRA
(v7.6.14#76016)