[ 
https://issues.apache.org/jira/browse/PHOENIX-5443?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16914640#comment-16914640
 ] 

Geoffrey Jacoby commented on PHOENIX-5443:
------------------------------------------

An interesting suggestion from [~apurtell] is to make the client-side schema 
repository logic for CDC use Confluent's Schema Registry interface. The 
server-side components of the Registry use a non-OSI approved license, but the 
client-side is Apache-licensed. 

> 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
>            Priority: Major
>
> 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
(v8.3.2#803003)

Reply via email to