Return-Path: X-Original-To: apmail-drill-issues-archive@minotaur.apache.org Delivered-To: apmail-drill-issues-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 5C03D177AD for ; Tue, 7 Apr 2015 01:50:16 +0000 (UTC) Received: (qmail 21164 invoked by uid 500); 7 Apr 2015 01:50:13 -0000 Delivered-To: apmail-drill-issues-archive@drill.apache.org Received: (qmail 21008 invoked by uid 500); 7 Apr 2015 01:50:13 -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 20791 invoked by uid 99); 7 Apr 2015 01:50:13 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 07 Apr 2015 01:50:13 +0000 Date: Tue, 7 Apr 2015 01:50:13 +0000 (UTC) From: "Kristine Hahn (JIRA)" To: issues@drill.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Resolved] (DRILL-2215) COALESCE function needs to be documented MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/DRILL-2215?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Kristine Hahn resolved DRILL-2215. ---------------------------------- Resolution: Fixed Now covered on http://drill.apache.org/docs/functions-for-handling-nulls/ and ready for review. Thanks. > COALESCE function needs to be documented > ---------------------------------------- > > Key: DRILL-2215 > URL: https://issues.apache.org/jira/browse/DRILL-2215 > Project: Apache Drill > Issue Type: Bug > Components: Documentation > Affects Versions: 0.8.0 > Reporter: Victoria Markman > Assignee: Kristine Hahn > > COALESCE function returns the first non-null expression in the list. If all expressions evaluate to null, then the COALESCE function will return null. > COALESCE( expr1, expr2, ... expr_n ) > expr1 to expr_n are the expressions to test for non-null values. > Expressions have to be of the same type. -- This message was sent by Atlassian JIRA (v6.3.4#6332)