Return-Path: X-Original-To: apmail-hive-dev-archive@www.apache.org Delivered-To: apmail-hive-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id D724C187D8 for ; Thu, 15 Oct 2015 04:15:10 +0000 (UTC) Received: (qmail 1667 invoked by uid 500); 15 Oct 2015 04:15:05 -0000 Delivered-To: apmail-hive-dev-archive@hive.apache.org Received: (qmail 1559 invoked by uid 500); 15 Oct 2015 04:15:05 -0000 Mailing-List: contact dev-help@hive.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@hive.apache.org Delivered-To: mailing list dev@hive.apache.org Received: (qmail 1522 invoked by uid 99); 15 Oct 2015 04:15:05 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 15 Oct 2015 04:15:05 +0000 Date: Thu, 15 Oct 2015 04:15:05 +0000 (UTC) From: "Lenni Kuff (JIRA)" To: dev@hive.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Created] (HIVE-12182) ALTER TABLE PARTITION COLUMN does not set partition column comments MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 Lenni Kuff created HIVE-12182: --------------------------------- Summary: ALTER TABLE PARTITION COLUMN does not set partition column comments Key: HIVE-12182 URL: https://issues.apache.org/jira/browse/HIVE-12182 Project: Hive Issue Type: Bug Components: SQL Affects Versions: 1.2.1 Reporter: Lenni Kuff ALTER TABLE PARTITION COLUMN does not set partition column comments. The syntax is accepted, but the COMMENT for the column is ignored. {code} 0: jdbc:hive2://localhost:10000/default> create table part_test(i int comment 'HELLO') partitioned by (j int comment 'WORLD'); No rows affected (0.104 seconds) 0: jdbc:hive2://localhost:10000/default> describe part_test; +--------------------------+-----------------------+-----------------------+--+ | col_name | data_type | comment | +--------------------------+-----------------------+-----------------------+--+ | i | int | HELLO | | j | int | WORLD | | | NULL | NULL | | # Partition Information | NULL | NULL | | # col_name | data_type | comment | | | NULL | NULL | | j | int | WORLD | +--------------------------+-----------------------+-----------------------+--+ 7 rows selected (0.109 seconds) 0: jdbc:hive2://localhost:10000/default> alter table part_test partition column (j int comment 'WIDE'); No rows affected (0.121 seconds) 0: jdbc:hive2://localhost:10000/default> describe part_test; +--------------------------+-----------------------+-----------------------+--+ | col_name | data_type | comment | +--------------------------+-----------------------+-----------------------+--+ | i | int | HELLO | | j | int | | | | NULL | NULL | | # Partition Information | NULL | NULL | | # col_name | data_type | comment | | | NULL | NULL | | j | int | | +--------------------------+-----------------------+-----------------------+--+ 7 rows selected (0.108 seconds) {code} -- This message was sent by Atlassian JIRA (v6.3.4#6332)