drill-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Gautam Kumar Parai (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (DRILL-5043) Function that returns a unique id per session/connection similar to MySQL's CONNECTION_ID()
Date Wed, 16 Nov 2016 20:07:58 GMT

    [ https://issues.apache.org/jira/browse/DRILL-5043?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15671468#comment-15671468
] 

Gautam Kumar Parai commented on DRILL-5043:
-------------------------------------------

Thanks for creating the JIRA. Please see the following:

[1] on how to contribute to Drill.
[2] on how to create a custom UDF.
[3] on how to pass some param (sessionID in your case) to the UDF.

1. https://drill.apache.org/docs/contribute-to-drill/
2. https://drill.apache.org/docs/develop-custom-functions/
3. QueryContext.java. See how session.getDefaultSchemaName() is passed using the QueryContextInformation.


> Function that returns a unique id per session/connection similar to MySQL's CONNECTION_ID()
> -------------------------------------------------------------------------------------------
>
>                 Key: DRILL-5043
>                 URL: https://issues.apache.org/jira/browse/DRILL-5043
>             Project: Apache Drill
>          Issue Type: Improvement
>          Components: Functions - Drill
>    Affects Versions: 1.8.0
>            Reporter: Nagarajan Chinnasamy
>              Labels: CONNECTION_ID, SESSION, UDF
>
> Design and implement a function that returns a unique id per session/connection similar
to MySQL's CONNECTION_ID().



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message