Alias for SQL table

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

Alias for SQL table

Alexey Kuznetsov-2
Hi, All!

We have ability to specify aliases for columns
via org.apache.ignite.cache.QueryEntity#getAliases.

But how about alias for table name? This could be useful in case of moving
legacy application to Ignite with a lot of SQL statements.

Thoughts?

--
Alexey Kuznetsov
Reply | Threaded
Open this post in threaded view
|

Re: Alias for SQL table

Sergi
I don't see any problems here. Feel free to create an issue.

Sergi

2016-09-25 16:30 GMT+03:00 Alexey Kuznetsov <[hidden email]>:

> Hi, All!
>
> We have ability to specify aliases for columns
> via org.apache.ignite.cache.QueryEntity#getAliases.
>
> But how about alias for table name? This could be useful in case of moving
> legacy application to Ignite with a lot of SQL statements.
>
> Thoughts?
>
> --
> Alexey Kuznetsov
>
Reply | Threaded
Open this post in threaded view
|

Re: Alias for SQL table

Alexey Kuznetsov-2
Created issue:
   SQL: implement support for table alias
   https://issues.apache.org/jira/browse/IGNITE-3964

On Sun, Sep 25, 2016 at 9:39 PM, Sergi Vladykin <[hidden email]>
wrote:

> I don't see any problems here. Feel free to create an issue.
>
> Sergi
>
> 2016-09-25 16:30 GMT+03:00 Alexey Kuznetsov <[hidden email]>:
>
> > Hi, All!
> >
> > We have ability to specify aliases for columns
> > via org.apache.ignite.cache.QueryEntity#getAliases.
> >
> > But how about alias for table name? This could be useful in case of
> moving
> > legacy application to Ignite with a lot of SQL statements.
> >
> > Thoughts?
> >
> > --
> > Alexey Kuznetsov
> >
>



--
Alexey Kuznetsov