Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id 83DC7200C8B for ; Mon, 22 May 2017 08:26:07 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id 827BD160BD4; Mon, 22 May 2017 06:26:07 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id C6B14160BA5 for ; Mon, 22 May 2017 08:26:06 +0200 (CEST) Received: (qmail 53368 invoked by uid 500); 22 May 2017 06:26:06 -0000 Mailing-List: contact dev-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 dev@kylin.apache.org Received: (qmail 53357 invoked by uid 99); 22 May 2017 06:26:05 -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; Mon, 22 May 2017 06:26:05 +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 843B3CA80B for ; Mon, 22 May 2017 06:26:05 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd1-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: -100.002 X-Spam-Level: X-Spam-Status: No, score=-100.002 tagged_above=-999 required=6.31 tests=[RP_MATCHES_RCVD=-0.001, SPF_PASS=-0.001, USER_IN_WHITELIST=-100] autolearn=disabled Received: from mx1-lw-us.apache.org ([10.40.0.8]) by localhost (spamd1-us-west.apache.org [10.40.0.7]) (amavisd-new, port 10024) with ESMTP id UYVCf0XFs383 for ; Mon, 22 May 2017 06:26:05 +0000 (UTC) Received: from mailrelay1-us-west.apache.org (mailrelay1-us-west.apache.org [209.188.14.139]) by mx1-lw-us.apache.org (ASF Mail Server at mx1-lw-us.apache.org) with ESMTP id C70275F249 for ; Mon, 22 May 2017 06:26:04 +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 4A7E9E0D4D for ; Mon, 22 May 2017 06:26:04 +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 0953C21B56 for ; Mon, 22 May 2017 06:26:04 +0000 (UTC) Date: Mon, 22 May 2017 06:26:04 +0000 (UTC) From: "hongbin ma (JIRA)" To: dev@kylin.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Created] (KYLIN-2635) optimize determined case when filters MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Mon, 22 May 2017 06:26:07 -0000 hongbin ma created KYLIN-2635: --------------------------------- Summary: optimize determined case when filters Key: KYLIN-2635 URL: https://issues.apache.org/jira/browse/KYLIN-2635 Project: Kylin Issue Type: Bug Reporter: hongbin ma Assignee: hongbin ma currently calcite will not handle with determined filter like: 1. where 1 = 1 => where true 2. where ( 1= 1 or x = 2) => where true 3. where case when 'a' = 'a' then x > 1 else x < 1 => where x > 1 the first two cases have been handled in KYLIN-2539, however the third case is not handled yet. This JIRA is to track the third case. In theory, this JIRA together with KYLIN-2539, KYLIN-2597 should be solved in calcite rather than KYLIN. However it's urgent demand so we'll fix in KYLIN first. -- This message was sent by Atlassian JIRA (v6.3.15#6346)