Return-Path: X-Original-To: apmail-kylin-dev-archive@minotaur.apache.org Delivered-To: apmail-kylin-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 51EE317676 for ; Wed, 18 Mar 2015 17:21:45 +0000 (UTC) Received: (qmail 13177 invoked by uid 500); 18 Mar 2015 17:21:45 -0000 Delivered-To: apmail-kylin-dev-archive@kylin.apache.org Received: (qmail 13118 invoked by uid 500); 18 Mar 2015 17:21:45 -0000 Mailing-List: contact dev-help@kylin.incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@kylin.incubator.apache.org Delivered-To: mailing list dev@kylin.incubator.apache.org Received: (qmail 13107 invoked by uid 99); 18 Mar 2015 17:21:45 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 18 Mar 2015 17:21:45 +0000 X-ASF-Spam-Status: No, hits=-1997.8 required=5.0 tests=ALL_TRUSTED,HTML_MESSAGE,T_RP_MATCHES_RCVD X-Spam-Check-By: apache.org Received: from [140.211.11.3] (HELO mail.apache.org) (140.211.11.3) by apache.org (qpsmtpd/0.29) with SMTP; Wed, 18 Mar 2015 17:21:23 +0000 Received: (qmail 9859 invoked by uid 99); 18 Mar 2015 17:21:20 -0000 Received: from mail-relay.apache.org (HELO mail-relay.apache.org) (140.211.11.15) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 18 Mar 2015 17:21:20 +0000 Received: from mail-ig0-f169.google.com (mail-ig0-f169.google.com [209.85.213.169]) by mail-relay.apache.org (ASF Mail Server at mail-relay.apache.org) with ESMTPSA id 525B31A035C for ; Wed, 18 Mar 2015 17:21:20 +0000 (UTC) Received: by igbue6 with SMTP id ue6so106335777igb.1 for ; Wed, 18 Mar 2015 10:21:19 -0700 (PDT) X-Received: by 10.50.79.193 with SMTP id l1mr9027929igx.27.1426699279678; Wed, 18 Mar 2015 10:21:19 -0700 (PDT) MIME-Version: 1.0 Received: by 10.64.140.68 with HTTP; Wed, 18 Mar 2015 10:20:59 -0700 (PDT) In-Reply-To: References: From: hongbin ma Date: Wed, 18 Mar 2015 10:20:59 -0700 Message-ID: Subject: Re: Too high cardinality is not suitable for dictionary To: dev@kylin.incubator.apache.org Content-Type: multipart/alternative; boundary=089e01183edac445b90511934f89 X-Virus-Checked: Checked by ClamAV on apache.org --089e01183edac445b90511934f89 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable can you use hive to get the distinct count values in DEFAULT.TEST.MYDATE and kylin_intermediate_*.MYDATE? On Wed, Mar 18, 2015 at 6:05 AM, dong wang wrote: > 1, in Hive, my_date is indeeded DATE type, it means which day the records > belong to > 2, it is certain that the pattern for this column "mydate" is "yyyy-MM-dd= ", > no "HH", "MM", "SS" at all for my_date > 3, for the kylin_intermediate_* table, I'm sure the data for the column i= s > like "2015-03-17" > --=20 Regards, *Bin Mahone | =E9=A9=AC=E6=B4=AA=E5=AE=BE* Apache Kylin: http://kylin.io Github: https://github.com/binmahone --089e01183edac445b90511934f89--