From issues-return-242249-apmail-spark-issues-archive=spark.apache.org@spark.apache.org Mon Dec 2 02:01:02 2019 Return-Path: X-Original-To: apmail-spark-issues-archive@minotaur.apache.org Delivered-To: apmail-spark-issues-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [207.244.88.153]) by minotaur.apache.org (Postfix) with SMTP id 385AE10B3D for ; Mon, 2 Dec 2019 02:01:02 +0000 (UTC) Received: (qmail 93555 invoked by uid 500); 2 Dec 2019 02:01:01 -0000 Delivered-To: apmail-spark-issues-archive@spark.apache.org Received: (qmail 93511 invoked by uid 500); 2 Dec 2019 02:01:01 -0000 Mailing-List: contact issues-help@spark.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Delivered-To: mailing list issues@spark.apache.org Received: (qmail 93495 invoked by uid 99); 2 Dec 2019 02:01:01 -0000 Received: from mailrelay1-us-west.apache.org (HELO mailrelay1-us-west.apache.org) (209.188.14.139) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 02 Dec 2019 02:01:01 +0000 Received: from jira-he-de.apache.org (static.172.67.40.188.clients.your-server.de [188.40.67.172]) by mailrelay1-us-west.apache.org (ASF Mail Server at mailrelay1-us-west.apache.org) with ESMTP id D567FE2DEB for ; Mon, 2 Dec 2019 02:01:00 +0000 (UTC) Received: from jira-he-de.apache.org (localhost.localdomain [127.0.0.1]) by jira-he-de.apache.org (ASF Mail Server at jira-he-de.apache.org) with ESMTP id 34C1278047D for ; Mon, 2 Dec 2019 02:01:00 +0000 (UTC) Date: Mon, 2 Dec 2019 02:01:00 +0000 (UTC) From: "jiaan.geng (Jira)" To: issues@spark.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (SPARK-30042) Add built-in Array Functions: array_dims 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/SPARK-30042?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16985750#comment-16985750 ] jiaan.geng commented on SPARK-30042: ------------------------------------ PostgreSQL is the only database that supports it > Add built-in Array Functions: array_dims > ---------------------------------------- > > Key: SPARK-30042 > URL: https://issues.apache.org/jira/browse/SPARK-30042 > Project: Spark > Issue Type: Sub-task > Components: SQL > Affects Versions: 3.0.0 > Reporter: jiaan.geng > Priority: Major > > |{{array_dims}}{{(}}{{anyarray}}{{)}}|{{text}}|returns a text representation of array's dimensions|{{array_dims(ARRAY[[1,2,3], [4,5,6]])}}|{{[1:2][1:3]}}| > [https://www.postgresql.org/docs/11/functions-array.html] -- This message was sent by Atlassian Jira (v8.3.4#803005) --------------------------------------------------------------------- To unsubscribe, e-mail: issues-unsubscribe@spark.apache.org For additional commands, e-mail: issues-help@spark.apache.org