Xingcan Cui commented on FLINK-8538:

Thanks for the comments [~twalthr] and [~fhueske]. Actually, I've encountered 
the problem of parsing the NUMBER type before and I just added an extra field 
to indicate the numeric types as the JSON schema in my application was only 
used internally. I think the Option 2 Timo raised referred to a global config, 
i.e., we always return a specific type,  which could be configured to be double 
or BigDecimal, for the JSON NUMBER type. I'll create a ticket for the JSON 
schema converter. Thanks!

> Add a Kafka table source factory with JSON format support
> ---------------------------------------------------------
>                 Key: FLINK-8538
>                 URL: https://issues.apache.org/jira/browse/FLINK-8538
>             Project: Flink
>          Issue Type: Sub-task
>          Components: Table API & SQL
>            Reporter: Timo Walther
>            Assignee: Xingcan Cui
>            Priority: Major
> Similar to CSVTableSourceFactory a Kafka table source factory for JSON should 
> be added. This issue includes improving the existing JSON descriptor with 
> validation that can be used for other connectors as well. It is up for 
> discussion if we want to split the KafkaJsonTableSource into connector and 
> format such that we can reuse the format for other table sources as well.

This message was sent by Atlassian JIRA

Reply via email to