From issues-return-17649-archive-asf-public=cust-asf.ponee.io@kylin.apache.org Fri May 25 04:13:04 2018 Return-Path: X-Original-To: archive-asf-public@cust-asf.ponee.io Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by mx-eu-01.ponee.io (Postfix) with SMTP id D6891180636 for ; Fri, 25 May 2018 04:13:03 +0200 (CEST) Received: (qmail 51969 invoked by uid 500); 25 May 2018 02:13:03 -0000 Mailing-List: contact issues-help@kylin.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@kylin.apache.org Delivered-To: mailing list issues@kylin.apache.org Received: (qmail 51958 invoked by uid 99); 25 May 2018 02:13:03 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd2-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 25 May 2018 02:13:02 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd2-us-west.apache.org (ASF Mail Server at spamd2-us-west.apache.org) with ESMTP id 9C33C1A17C2 for ; Fri, 25 May 2018 02:13:02 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd2-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: -101.511 X-Spam-Level: X-Spam-Status: No, score=-101.511 tagged_above=-999 required=6.31 tests=[KAM_ASCII_DIVIDERS=0.8, RCVD_IN_DNSWL_MED=-2.3, SPF_PASS=-0.001, T_RP_MATCHES_RCVD=-0.01, USER_IN_WHITELIST=-100] autolearn=disabled Received: from mx1-lw-eu.apache.org ([10.40.0.8]) by localhost (spamd2-us-west.apache.org [10.40.0.9]) (amavisd-new, port 10024) with ESMTP id H5mb72IFKx-n for ; Fri, 25 May 2018 02:13:01 +0000 (UTC) Received: from mailrelay1-us-west.apache.org (mailrelay1-us-west.apache.org [209.188.14.139]) by mx1-lw-eu.apache.org (ASF Mail Server at mx1-lw-eu.apache.org) with ESMTP id 33AB45F169 for ; Fri, 25 May 2018 02:13:01 +0000 (UTC) Received: from jira-lw-us.apache.org (unknown [207.244.88.139]) by mailrelay1-us-west.apache.org (ASF Mail Server at mailrelay1-us-west.apache.org) with ESMTP id 6A5B7E01C5 for ; Fri, 25 May 2018 02:13:00 +0000 (UTC) Received: from jira-lw-us.apache.org (localhost [127.0.0.1]) by jira-lw-us.apache.org (ASF Mail Server at jira-lw-us.apache.org) with ESMTP id 1F6EB21096 for ; Fri, 25 May 2018 02:13:00 +0000 (UTC) Date: Fri, 25 May 2018 02:13:00 +0000 (UTC) From: "Yifei Wu (JIRA)" To: issues@kylin.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Updated] (KYLIN-3385) when the cube contain sum(1) measure, tables in "Query" page cannot be load MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/KYLIN-3385?page=3Dcom.atlassia= n.jira.plugin.system.issuetabpanels:all-tabpanel ] Yifei Wu updated KYLIN-3385: ---------------------------- Description:=20 In the=C2=A0current version,=C2=A0 the sum(1), equals with count(*) actuall= y, is allowed to add to cube Measures. However, if you add, it will cause some errors, such as tables in "Query" p= age cannot be load and the query like this=C2=A0cannot=C2=A0run. {code:java} select sum(1) from kylin_fact {code} was: In the=C2=A0current version,=C2=A0 the sum(1), equals with count(*) actuall= y, is allowed to add to cube Measures. However, if you add, it will cause some errors, such as tables in "Query" p= age cannot be load and the query like this also be not right. {code:java} select sum(1) from kylin_fact {code} > when the cube contain sum(1) measure, tables in "Query" page cannot be lo= ad > -------------------------------------------------------------------------= -- > > Key: KYLIN-3385 > URL: https://issues.apache.org/jira/browse/KYLIN-3385 > Project: Kylin > Issue Type: Bug > Reporter: Yifei Wu > Assignee: Yifei Wu > Priority: Major > > In the=C2=A0current version,=C2=A0 the sum(1), equals with count(*) actua= lly, is allowed to add to cube Measures. > However, if you add, it will cause some errors, such as tables in "Query"= page cannot be load and the query like this=C2=A0cannot=C2=A0run. > {code:java} > select sum(1) from kylin_fact > {code} -- This message was sent by Atlassian JIRA (v7.6.3#76005)