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 91D78200B21 for ; Fri, 10 Jun 2016 22:09:22 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id 90691160A38; Fri, 10 Jun 2016 20:09:22 +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 0BCFC160A15 for ; Fri, 10 Jun 2016 22:09:21 +0200 (CEST) Received: (qmail 46293 invoked by uid 500); 10 Jun 2016 20:09:21 -0000 Mailing-List: contact issues-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 issues@drill.apache.org Received: (qmail 46265 invoked by uid 99); 10 Jun 2016 20:09:21 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 10 Jun 2016 20:09:21 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id ECF062C14F8 for ; Fri, 10 Jun 2016 20:09:20 +0000 (UTC) Date: Fri, 10 Jun 2016 20:09:20 +0000 (UTC) From: "Jacques Nadeau (JIRA)" To: issues@drill.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (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: Fri, 10 Jun 2016 20:09:22 -0000 [ https://issues.apache.org/jira/browse/DRILL-4715?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15325201#comment-15325201 ] Jacques Nadeau commented on DRILL-4715: --------------------------------------- Got it. Thanks for the clarification. > 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 > > 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)