[ 
https://issues.apache.org/jira/browse/CALCITE-3080?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Xu Mingmin updated CALCITE-3080:
--------------------------------
    Description: 
Currently rowSchema is defined by extending `KafkaRowConverter` only. Feature 
in this task would support user-defined row schema when creating a table.

 

Here's one proposed interface in 
https://github.com/apache/calcite/pull/1127/files#r283913361

{code}
interface KafkaRowConverter {
RelDataType rowDataType();
Object[] toRow(ConsumerRecord<K, V> message);
}
{code}

 

  was:Currently rowSchema is defined by extending `KafkaRowConverter` only. 
Feature in this task would support user-defined row schema when creating a 
table.


> support user-specified row schema in KafkaAdapter
> -------------------------------------------------
>
>                 Key: CALCITE-3080
>                 URL: https://issues.apache.org/jira/browse/CALCITE-3080
>             Project: Calcite
>          Issue Type: Improvement
>            Reporter: Xu Mingmin
>            Priority: Major
>
> Currently rowSchema is defined by extending `KafkaRowConverter` only. Feature 
> in this task would support user-defined row schema when creating a table.
>  
> Here's one proposed interface in 
> https://github.com/apache/calcite/pull/1127/files#r283913361
> {code}
> interface KafkaRowConverter {
> RelDataType rowDataType();
> Object[] toRow(ConsumerRecord<K, V> message);
> }
> {code}
>  



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to