Return-Path: X-Original-To: apmail-tajo-dev-archive@minotaur.apache.org Delivered-To: apmail-tajo-dev-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 73A0C1075C for ; Thu, 5 Dec 2013 07:19:59 +0000 (UTC) Received: (qmail 10942 invoked by uid 500); 5 Dec 2013 07:19:58 -0000 Delivered-To: apmail-tajo-dev-archive@tajo.apache.org Received: (qmail 10896 invoked by uid 500); 5 Dec 2013 07:19:57 -0000 Mailing-List: contact dev-help@tajo.incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@tajo.incubator.apache.org Delivered-To: mailing list dev@tajo.incubator.apache.org Received: (qmail 10884 invoked by uid 99); 5 Dec 2013 07:19:57 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 05 Dec 2013 07:19:57 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.0 tests=ALL_TRUSTED,RP_MATCHES_RCVD X-Spam-Check-By: apache.org Received: from [140.211.11.3] (HELO mail.apache.org) (140.211.11.3) by apache.org (qpsmtpd/0.29) with SMTP; Thu, 05 Dec 2013 07:19:55 +0000 Received: (qmail 98193 invoked by uid 99); 5 Dec 2013 07:17:35 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 05 Dec 2013 07:17:35 +0000 Date: Thu, 5 Dec 2013 07:17:35 +0000 (UTC) From: "Jae Young Lee (JIRA)" To: dev@tajo.incubator.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Created] (TAJO-381) find_in_set MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org Jae Young Lee created TAJO-381: ---------------------------------- Summary: find_in_set Key: TAJO-381 URL: https://issues.apache.org/jira/browse/TAJO-381 Project: Tajo Issue Type: Improvement Reporter: Jae Young Lee Assignee: Jae Young Lee Priority: Minor find_in_set(str,str_array) - Returns the first occurrence of str in str_array where str_array is a comma-delimited string. Returns null if either argument is null. Returns 0 if the first argument has any commas. Example: SELECT find_in_set('cr','crt,c,cr,c,def') FROM src LIMIT 1;\n" -> result: 3 -- This message was sent by Atlassian JIRA (v6.1#6144)