Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id 06EB7200BC4 for ; Sat, 19 Nov 2016 15:25:00 +0100 (CET) Received: by cust-asf.ponee.io (Postfix) id EEDE3160B09; Sat, 19 Nov 2016 14:24:59 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id 69AC5160AEF for ; Sat, 19 Nov 2016 15:24:59 +0100 (CET) Received: (qmail 23247 invoked by uid 500); 19 Nov 2016 14:24:58 -0000 Mailing-List: contact issues-help@drill.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@drill.apache.org Delivered-To: mailing list issues@drill.apache.org Received: (qmail 23235 invoked by uid 99); 19 Nov 2016 14:24:58 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 19 Nov 2016 14:24:58 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id 6F2332C0059 for ; Sat, 19 Nov 2016 14:24:58 +0000 (UTC) Date: Sat, 19 Nov 2016 14:24:58 +0000 (UTC) From: "Nagarajan Chinnasamy (JIRA)" To: issues@drill.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (DRILL-5043) Function that returns a unique id per session/connection similar to MySQL's CONNECTION_ID() MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Sat, 19 Nov 2016 14:25:00 -0000 [ https://issues.apache.org/jira/browse/DRILL-5043?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15679345#comment-15679345 ] Nagarajan Chinnasamy commented on DRILL-5043: --------------------------------------------- I guess the "case" condition value should be 34 and not 36... Is that correct??? > 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 > Priority: Minor > Labels: CONNECTION_ID, SESSION, UDF > Attachments: 01_session_id_sqlline.png, 02_session_id_webconsole_query.png, 03_session_id_webconsole_result.png > > > 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)