Is it possible to customize avro schema name when using SQL

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

Is it possible to customize avro schema name when using SQL

tao xiao
Hi team,

I want to use avro-confluent to encode the data using SQL but the schema registered by the encoder hard code the schema name to 'record'. is it possible to dictate the name? 

--
Regards,
Tao
Reply | Threaded
Open this post in threaded view
|

Re: Is it possible to customize avro schema name when using SQL

Nicolaus Weidner
Hi Tao,

This is currently not possible using Table API, though this will likely change in a future version. Currently, you would have to do that using the Datastream API [1] and then switch to the Table API.

Best wishes,
Nico


On Sun, Jun 6, 2021 at 9:55 AM tao xiao <[hidden email]> wrote:
Hi team,

I want to use avro-confluent to encode the data using SQL but the schema registered by the encoder hard code the schema name to 'record'. is it possible to dictate the name? 

--
Regards,
Tao