Return-Path: X-Original-To: apmail-impala-dev-archive@minotaur.apache.org Delivered-To: apmail-impala-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 AA84E19734 for ; Fri, 29 Apr 2016 02:29:01 +0000 (UTC) Received: (qmail 21539 invoked by uid 500); 29 Apr 2016 02:29:01 -0000 Delivered-To: apmail-impala-dev-archive@impala.apache.org Received: (qmail 21497 invoked by uid 500); 29 Apr 2016 02:29:01 -0000 Mailing-List: contact dev-help@impala.incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@impala.incubator.apache.org Delivered-To: mailing list dev@impala.incubator.apache.org Received: (qmail 21485 invoked by uid 99); 29 Apr 2016 02:29:01 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd1-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 29 Apr 2016 02:29:01 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd1-us-west.apache.org (ASF Mail Server at spamd1-us-west.apache.org) with ESMTP id D0F8BC0577 for ; Fri, 29 Apr 2016 02:29:00 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd1-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 0.362 X-Spam-Level: X-Spam-Status: No, score=0.362 tagged_above=-999 required=6.31 tests=[RDNS_DYNAMIC=0.363, SPF_PASS=-0.001] autolearn=disabled Received: from mx1-lw-eu.apache.org ([10.40.0.8]) by localhost (spamd1-us-west.apache.org [10.40.0.7]) (amavisd-new, port 10024) with ESMTP id KyU4nj2bqmNd for ; Fri, 29 Apr 2016 02:28:58 +0000 (UTC) Received: from ip-10-146-233-104.ec2.internal (ec2-75-101-130-251.compute-1.amazonaws.com [75.101.130.251]) by mx1-lw-eu.apache.org (ASF Mail Server at mx1-lw-eu.apache.org) with ESMTPS id C7EB25FB50 for ; Fri, 29 Apr 2016 02:28:57 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by ip-10-146-233-104.ec2.internal (8.14.4/8.14.4) with ESMTP id u3T2SsE7024812; Fri, 29 Apr 2016 02:28:54 GMT Message-Id: <201604290228.u3T2SsE7024812@ip-10-146-233-104.ec2.internal> Date: Fri, 29 Apr 2016 02:28:53 +0000 From: "Casey Ching (Code Review)" To: impala-cr@cloudera.com, dev@impala.incubator.apache.org CC: Matthew Jacobs , Marcel Kornacker , Dimitris Tsirogiannis Reply-To: casey@cloudera.com X-Gerrit-MessageType: comment Subject: =?UTF-8?Q?[Impala-CR](cdh5-trunk)_Simplify_creating_external_Kudu_tables_and_add_DROP_DATABASE_CASCADE=0A?= X-Gerrit-Change-Id: Ic141102818b6dad3016181b179a14024d0ff709d X-Gerrit-ChangeURL: X-Gerrit-Commit: b345f3f63f6358d169c9d1548964d0299cfd64c2 In-Reply-To: References: MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Content-Disposition: inline User-Agent: Gerrit/2.10-rc0 Casey Ching has posted comments on this change. Change subject: Simplify creating external Kudu tables and add DROP DATABASE CASCADE ...................................................................... Patch Set 10: (4 comments) http://gerrit.cloudera.org:8080/#/c/2617/10//COMMIT_MSG Commit Message: Line 23: Add KUDU as a file format. > What do we gain by doing that other than being able to say "STORED AS KUDU" Consistency. Users familiar with creating tables with various formats should expect "STORED AS KUDU". You think it'll be confusing to mix a file format with a storage engine? http://gerrit.cloudera.org:8080/#/c/2617/10/fe/src/main/java/com/cloudera/impala/analysis/CreateTableStmt.java File fe/src/main/java/com/cloudera/impala/analysis/CreateTableStmt.java: Line 350: TODO: Investigate what happens if more than one DistributeComponent : // without any columns is specified. Maybe reject that here? > Are you going to address these TODOs in a follow up patch? Yes, distribute params are for managed tables so I'll do this at the same time. http://gerrit.cloudera.org:8080/#/c/2617/10/fe/src/main/java/com/cloudera/impala/catalog/delegates/KuduDdlDelegate.java File fe/src/main/java/com/cloudera/impala/catalog/delegates/KuduDdlDelegate.java: Line 88: of > typo: if Done Line 177: schema. > maybe "schema stored in msTable_."? Done -- To view, visit http://gerrit.cloudera.org:8080/2617 To unsubscribe, visit http://gerrit.cloudera.org:8080/settings Gerrit-MessageType: comment Gerrit-Change-Id: Ic141102818b6dad3016181b179a14024d0ff709d Gerrit-PatchSet: 10 Gerrit-Project: Impala Gerrit-Branch: cdh5-trunk Gerrit-Owner: Casey Ching Gerrit-Reviewer: Casey Ching Gerrit-Reviewer: Dimitris Tsirogiannis Gerrit-Reviewer: Marcel Kornacker Gerrit-Reviewer: Matthew Jacobs Gerrit-HasComments: Yes