Flink Table API and table name

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

Flink Table API and table name

Flavio Pompermaier
Hi to all,
in my job I'm trying to read a dataset whose name/id starts with a number.
It seems that when using the Table API to read that dataset, if the name starts with a number it is a problem..am I wrong?  I can't find anything about table id constraints on the documentation and it seems that it's not possible to escape the name..for the moment I've added a 'T' in front of the name in order to have something  like T1 or T2 but it looks like a workaround to me..

Best,
Flavio
Reply | Threaded
Open this post in threaded view
|

Re: Flink Table API and table name

miki haiat
Im not sure if it will solve this issue but can you try to register the your catalog [1]

 

On Tue, Oct 16, 2018 at 11:40 AM Flavio Pompermaier <[hidden email]> wrote:
Hi to all,
in my job I'm trying to read a dataset whose name/id starts with a number.
It seems that when using the Table API to read that dataset, if the name starts with a number it is a problem..am I wrong?  I can't find anything about table id constraints on the documentation and it seems that it's not possible to escape the name..for the moment I've added a 'T' in front of the name in order to have something  like T1 or T2 but it looks like a workaround to me..

Best,
Flavio
Reply | Threaded
Open this post in threaded view
|

Re: Flink Table API and table name

Timo Walther
Hi Flavio,

yes you are right, I don't see a reason why we should not support such table names. Feel free to open an issue for it.

Regards,
Timo


Am 16.10.18 um 10:56 schrieb miki haiat:
Im not sure if it will solve this issue but can you try to register the your catalog [1]

 

On Tue, Oct 16, 2018 at 11:40 AM Flavio Pompermaier <[hidden email]> wrote:
Hi to all,
in my job I'm trying to read a dataset whose name/id starts with a number.
It seems that when using the Table API to read that dataset, if the name starts with a number it is a problem..am I wrong?  I can't find anything about table id constraints on the documentation and it seems that it's not possible to escape the name..for the moment I've added a 'T' in front of the name in order to have something  like T1 or T2 but it looks like a workaround to me..

Best,
Flavio


Reply | Threaded
Open this post in threaded view
|

Re: Flink Table API and table name

Flavio Pompermaier

On Tue, Oct 16, 2018 at 11:12 AM Timo Walther <[hidden email]> wrote:
Hi Flavio,

yes you are right, I don't see a reason why we should not support such table names. Feel free to open an issue for it.

Regards,
Timo


Am 16.10.18 um 10:56 schrieb miki haiat:
Im not sure if it will solve this issue but can you try to register the your catalog [1]

 

On Tue, Oct 16, 2018 at 11:40 AM Flavio Pompermaier <[hidden email]> wrote:
Hi to all,
in my job I'm trying to read a dataset whose name/id starts with a number.
It seems that when using the Table API to read that dataset, if the name starts with a number it is a problem..am I wrong?  I can't find anything about table id constraints on the documentation and it seems that it's not possible to escape the name..for the moment I've added a 'T' in front of the name in order to have something  like T1 or T2 but it looks like a workaround to me..

Best,
Flavio