Re: Table API: get Schema from TableSchema, TypeInformation[] or Avro

2018-08-31 Thread françois lacombe
Ok, looking forward reading your document. All the best François 2018-08-31 9:09 GMT+02:00 Timo Walther : > Thanks for your response. I think we won't need this utility in the near > future. As mentioned, I'm working on a design document that allows for > better abstraction. I think I will pub

Re: Table API: get Schema from TableSchema, TypeInformation[] or Avro

2018-08-31 Thread Timo Walther
Thanks for your response. I think we won't need this utility in the near future. As mentioned, I'm working on a design document that allows for better abstraction. I think I will publish it next week. Regards, Timo Am 31.08.18 um 08:36 schrieb françois lacombe: Hi Timo Yes it helps, thank y

Re: Table API: get Schema from TableSchema, TypeInformation[] or Avro

2018-08-30 Thread françois lacombe
Hi Timo Yes it helps, thank you. I'll start building such an utility method. Are you interested to get the source? According to mapping here : https://ci.apache.org/projects/flink/flink-docs-release-1.6/dev/table/connect.html#apache-avro-format Is there any way to get corresponding TypeInformatio

Re: Table API: get Schema from TableSchema, TypeInformation[] or Avro

2018-08-30 Thread Timo Walther
Hi, thanks for your feedback. I agree that the the current interfaces are not flexible enough to fit to every use case. The unified connector API is a a very recent feature that still needs some polishing. I'm working on a design document to improve the situation there. For now, you can simp

Table API: get Schema from TableSchema, TypeInformation[] or Avro

2018-08-30 Thread françois lacombe
Hi all, Today I'm looking into derivating an Avro schema json string into a Schema object. In the overview of https://ci.apache.org/projects/flink/flink-docs-release-1.6/dev/table/connect.html Avro is used as a format and never as a schema. This was a topic in JIRA-9813 I can get a TableSchema wi