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 8606A200CC1 for ; Mon, 10 Jul 2017 09:56:11 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id 82F0F166D9E; Mon, 10 Jul 2017 07:56:11 +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 C9291166DA8 for ; Mon, 10 Jul 2017 09:56:10 +0200 (CEST) Received: (qmail 2284 invoked by uid 500); 10 Jul 2017 07:56:09 -0000 Mailing-List: contact reviews-help@spark.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Delivered-To: mailing list reviews@spark.apache.org Received: (qmail 1702 invoked by uid 99); 10 Jul 2017 07:56:09 -0000 Received: from git1-us-west.apache.org (HELO git1-us-west.apache.org) (140.211.11.23) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 10 Jul 2017 07:56:09 +0000 Received: by git1-us-west.apache.org (ASF Mail Server at git1-us-west.apache.org, from userid 33) id 55E93E0A98; Mon, 10 Jul 2017 07:56:09 +0000 (UTC) From: cloud-fan To: reviews@spark.apache.org Reply-To: reviews@spark.apache.org References: In-Reply-To: Subject: [GitHub] spark pull request #16422: [SPARK-17642] [SQL] support DESC EXTENDED/FORMATT... Content-Type: text/plain Message-Id: <20170710075609.55E93E0A98@git1-us-west.apache.org> Date: Mon, 10 Jul 2017 07:56:09 +0000 (UTC) archived-at: Mon, 10 Jul 2017 07:56:11 -0000 Github user cloud-fan commented on a diff in the pull request: https://github.com/apache/spark/pull/16422#discussion_r126355022 --- Diff: sql/core/src/test/resources/sql-tests/results/describe-table-column.sql.out --- @@ -0,0 +1,133 @@ +-- Automatically generated by SQLQueryTestSuite +-- Number of queries: 15 + + +-- !query 0 +CREATE TEMPORARY VIEW desc_col_temp_table (key int COMMENT 'column_comment') USING PARQUET +-- !query 0 schema +struct<> +-- !query 0 output + + + +-- !query 1 +DESC desc_col_temp_table key +-- !query 1 schema +struct +-- !query 1 output +col_name data_type comment +key int column_comment + + +-- !query 2 +DESC EXTENDED desc_col_temp_table key +-- !query 2 schema +struct +-- !query 2 output +col_name data_type min max num_nulls distinct_count avg_col_len max_col_len comment --- End diff -- ok then we need to decide if we wanna diverge with hive here, cc @gatorsmile --- If your project is set up for it, you can reply to this email and have your reply appear on GitHub as well. If your project does not have this feature enabled and wishes so, or if the feature is enabled but not working, please contact infrastructure at infrastructure@apache.org or file a JIRA ticket with INFRA. --- --------------------------------------------------------------------- To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org For additional commands, e-mail: reviews-help@spark.apache.org