I have created an issue in Apache Drill JIRA:
https://issues.apache.org/jira/browse/DRILL-5043
Am not sure if I have filled all the fields correct. If you can forward a
link to the material that explains the process that I need to follow in
making contributions, that will be great. I am aware of GitHub and PR
practices. Thanks.
Best Regards,
Nagu.
On Wed, Nov 16, 2016 at 7:35 AM, Gautam Parai <[email protected]> wrote:
> You could consider contributing a UDF (user-defined function) for the same.
> If the UserSession were to contain a unique ID per session it is pretty
> straightforward to pass it along to the UDF which would return it to the
> caller.
>
> After this, you could then invoke it just like MySQL e.g. *SELECT
> MY_CONNECTION_ID_UDF() FROM TABLE;*
>
> *If interested, please start by filing an Apache Drill JIRA.*
>
> On Mon, Nov 14, 2016 at 2:01 AM, Nagarajan Chinnasamy <
> [email protected]> wrote:
>
> > Hi,
> >
> > I would like to know if there is a function or column in system tables
> that
> > is equivalent to MySQL's CONNECTION_ID function.
> >
> > I am basically trying to achieve the technique answered by Justin
> Swanhart
> > for the following stackoverflow question:
> >
> > http://stackoverflow.com/questions/2281890/can-i-
> > create-view-with-parameter-in-mysql
> >
> >
> > Best Regards,
> > Nagu.
> >
>