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 E5965200B3C for ; Tue, 28 Jun 2016 00:29:58 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id E47B6160A5B; Mon, 27 Jun 2016 22:29:58 +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 60A4B160A6E for ; Tue, 28 Jun 2016 00:29:58 +0200 (CEST) Received: (qmail 11980 invoked by uid 500); 27 Jun 2016 22:29:57 -0000 Mailing-List: contact dev-help@drill.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@drill.apache.org Delivered-To: mailing list dev@drill.apache.org Received: (qmail 11907 invoked by uid 99); 27 Jun 2016 22:29:57 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 27 Jun 2016 22:29:57 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id 3BEDA2C1F69 for ; Mon, 27 Jun 2016 22:29:57 +0000 (UTC) Date: Mon, 27 Jun 2016 22:29:57 +0000 (UTC) From: "Jinfeng Ni (JIRA)" To: dev@drill.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Resolved] (DRILL-4715) Java compilation error for a query with large number of expressions MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Mon, 27 Jun 2016 22:29:59 -0000 [ https://issues.apache.org/jira/browse/DRILL-4715?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Jinfeng Ni resolved DRILL-4715. ------------------------------- Resolution: Fixed Fix Version/s: 1.8.0 Fixed in commit: 11602456b3e7b334c6cd060e633f5668d32d80e9 > Java compilation error for a query with large number of expressions > ------------------------------------------------------------------- > > Key: DRILL-4715 > URL: https://issues.apache.org/jira/browse/DRILL-4715 > Project: Apache Drill > Issue Type: Bug > Components: Execution - Codegen > Reporter: Jinfeng Ni > Assignee: Jinfeng Ni > Fix For: 1.8.0 > > > The following query would hit compilation error, when Drill generates and compiles the run-time code. > Q1 : > {code} > select expr1, expr2, expr3, ...., exprN > from table > {code} > In Q1, expr1, expr2, ..., exprN are non-trivial expression (in stead of simply column reference), and N is big enough, then the run-time generated code may have a method which goes beyond the 64k limit imposed by JVM. > This seems to be a regression from DRILL-3912 (Common subexpression elimination). CSE tries to put as many expressions in one block as possible, to detect and eliminate as many CSE as possible. However, this implies we may end up with big method with compilation error. > -- This message was sent by Atlassian JIRA (v6.3.4#6332)