Return-Path: X-Original-To: apmail-hive-user-archive@www.apache.org Delivered-To: apmail-hive-user-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 1E410750C for ; Mon, 12 Sep 2011 19:07:54 +0000 (UTC) Received: (qmail 28445 invoked by uid 500); 12 Sep 2011 19:07:53 -0000 Delivered-To: apmail-hive-user-archive@hive.apache.org Received: (qmail 28412 invoked by uid 500); 12 Sep 2011 19:07:53 -0000 Mailing-List: contact user-help@hive.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: user@hive.apache.org Delivered-To: mailing list user@hive.apache.org Received: (qmail 28404 invoked by uid 99); 12 Sep 2011 19:07:53 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 12 Sep 2011 19:07:53 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=5.0 tests=RCVD_IN_DNSWL_LOW,SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (athena.apache.org: local policy) Received: from [209.85.215.169] (HELO mail-ey0-f169.google.com) (209.85.215.169) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 12 Sep 2011 19:07:46 +0000 Received: by eye22 with SMTP id 22so585705eye.28 for ; Mon, 12 Sep 2011 12:07:25 -0700 (PDT) Received: by 10.14.11.97 with SMTP id 73mr625589eew.222.1315854445226; Mon, 12 Sep 2011 12:07:25 -0700 (PDT) Received: from acalculia.fritz.box (a82-161-128-246.adsl.xs4all.nl [82.161.128.246]) by mx.google.com with ESMTPS id b3sm20496405eec.7.2011.09.12.12.07.23 (version=SSLv3 cipher=OTHER); Mon, 12 Sep 2011 12:07:24 -0700 (PDT) Content-Type: text/plain; charset=iso-8859-1 Mime-Version: 1.0 (Apple Message framework v1244.3) Subject: Re: CREATE INDEX From: Adriaan Tijsseling In-Reply-To: Date: Mon, 12 Sep 2011 21:07:22 +0200 Content-Transfer-Encoding: quoted-printable Message-Id: References: <417DC562-060C-47AB-8951-E1C6EE553947@tijsseling.com> To: user@hive.apache.org X-Mailer: Apple Mail (2.1244.3) Thanks. I see this: CREATE INDEX index_name ON TABLE base_table_name (col_name, ...) AS index_type [WITH DEFERRED REBUILD] [IDXPROPERTIES (property_name=3Dproperty_value, ...)] [IN TABLE index_table_name] [ [ ROW FORMAT ...] STORED AS ... | STORED BY ... ] [LOCATION hdfs_path] [TBLPROPERTIES (...)] [COMMENT=20 "index comment"] Sadly, there's no explanation what IDXPROPERTIES could be. It looks to = be similar to TBLPROPERTIES, but that isn't documented well either.=20 On 2011/09/12, at 19:11, Ashutosh Chauhan wrote: > = https://cwiki.apache.org/confluence/display/Hive/LanguageManual+DDL#Langua= geManualDDL-Create%2FDropIndexhas > DDL commands using which you can create and manipulate indices in > Hive. >=20 > Hope it helps, > Ashutosh >=20 > On Mon, Sep 12, 2011 at 05:46, Adriaan Tijsseling = wrote: >=20 >> Does anyone know the proper documentation for using the "CREATE = INDEX" >> command in hive? The hive homepage doesn't have the information. >>=20 >> Cheers, >>=20 >> Adriaan >>=20 >>=20