Return-Path: X-Original-To: apmail-tajo-dev-archive@minotaur.apache.org Delivered-To: apmail-tajo-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 C24E510B7A for ; Thu, 17 Apr 2014 08:19:52 +0000 (UTC) Received: (qmail 78469 invoked by uid 500); 17 Apr 2014 08:19:50 -0000 Delivered-To: apmail-tajo-dev-archive@tajo.apache.org Received: (qmail 78434 invoked by uid 500); 17 Apr 2014 08:19:50 -0000 Mailing-List: contact dev-help@tajo.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@tajo.apache.org Delivered-To: mailing list dev@tajo.apache.org Received: (qmail 78422 invoked by uid 99); 17 Apr 2014 08:19:49 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 17 Apr 2014 08:19:49 +0000 X-ASF-Spam-Status: No, hits=2.2 required=5.0 tests=HTML_MESSAGE,RCVD_IN_DNSWL_NONE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of azuryyyu@gmail.com designates 209.85.192.54 as permitted sender) Received: from [209.85.192.54] (HELO mail-qg0-f54.google.com) (209.85.192.54) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 17 Apr 2014 08:19:43 +0000 Received: by mail-qg0-f54.google.com with SMTP id z60so101599qgd.27 for ; Thu, 17 Apr 2014 01:19:23 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; bh=uB08yM/VQLL0iO3S1k8cxy+V8Rx/kDoMMhPgBy1A9oM=; b=y5KZyVrnOR2ITgniuOggR3pcfiTdQA8iWQnGuCNYojZSrw7KjAbKGbms79xZj089Yi bDh+xdvAIN+MNTmbCgrJmyV3MdrI4LYuaR6Yn4WgZEm2n1ZJCgj4DRAQE6KxEr0v84aI PBYNM56QLYe+7M3PB1UkFFoWDB7DzrF4gjgGBy2rqgG/ibF7Z2JNrLVJkEJzS8kTiK/Z ai6l5zE/tOfQNKzvxVzetJHAMKaF5UYLTGACBYuOk1BBJVCsPbv06BSM3ShXh7HcaqYg Zp1CCLFRRTtVfHf87wAz22F2mvbSUw3fNEmARRHCB7ecLAv3ZjxHEL1VgJrUPJyiHVCQ UAzw== MIME-Version: 1.0 X-Received: by 10.229.198.2 with SMTP id em2mr8393220qcb.21.1397722763029; Thu, 17 Apr 2014 01:19:23 -0700 (PDT) Received: by 10.140.44.53 with HTTP; Thu, 17 Apr 2014 01:19:22 -0700 (PDT) In-Reply-To: References: Date: Thu, 17 Apr 2014 16:19:22 +0800 Message-ID: Subject: Re: Tajo cannot recognize external table in Hive From: Azuryy Yu To: "dev@tajo.apache.org" Content-Type: multipart/alternative; boundary=001a11c2ee64c8f07e04f738b0d3 X-Virus-Checked: Checked by ClamAV on apache.org --001a11c2ee64c8f07e04f738b0d3 Content-Type: text/plain; charset=UTF-8 I created an external hive table: test CREATE EXTERNAL TABLE test(id string) PARTITIONED BY (dt string); then; alter table test add partition (dt='20140410') location '/data/20130410'; finally, I can \d test in the tsql shell, but there is no query result as expected. On Thu, Apr 17, 2014 at 1:47 PM, Azuryy Yu wrote: > Hi, > I'm using HCatalogStore, and there are some external tables in Hive. > > Tajo cannot recognized these external tables during my query. > > after '\d tablename', it shows as following: > > default> \d test > > table name: default.test > table path: hdfs://test-cluster/hive/warehouse/test > > the red font path name is not the partition located directory, so there is > no query result returned. > --001a11c2ee64c8f07e04f738b0d3--