Return-Path: X-Original-To: apmail-hive-issues-archive@minotaur.apache.org Delivered-To: apmail-hive-issues-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 38F7A179ED for ; Wed, 1 Apr 2015 13:01:54 +0000 (UTC) Received: (qmail 29850 invoked by uid 500); 1 Apr 2015 13:00:55 -0000 Delivered-To: apmail-hive-issues-archive@hive.apache.org Received: (qmail 29828 invoked by uid 500); 1 Apr 2015 13:00:55 -0000 Mailing-List: contact issues-help@hive.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@hive.apache.org Delivered-To: mailing list issues@hive.apache.org Received: (qmail 29818 invoked by uid 99); 1 Apr 2015 13:00:55 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 01 Apr 2015 13:00:55 +0000 Date: Wed, 1 Apr 2015 13:00:55 +0000 (UTC) From: "Jesus Camacho Rodriguez (JIRA)" To: issues@hive.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (HIVE-10116) CBO (Calcite Return Path): RelMdSize throws an Exception when Join is actually a Semijoin [CBO branch] MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/HIVE-10116?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14390494#comment-14390494 ] Jesus Camacho Rodriguez commented on HIVE-10116: ------------------------------------------------ [~mmokhtar], yes, that's the same issue. It should have been solved when this patch and CALCITE-650 went it. > CBO (Calcite Return Path): RelMdSize throws an Exception when Join is actually a Semijoin [CBO branch] > ------------------------------------------------------------------------------------------------------ > > Key: HIVE-10116 > URL: https://issues.apache.org/jira/browse/HIVE-10116 > Project: Hive > Issue Type: Sub-task > Components: CBO > Affects Versions: cbo-branch > Reporter: Jesus Camacho Rodriguez > Assignee: Jesus Camacho Rodriguez > Fix For: cbo-branch > > Attachments: HIVE-10116.cbo.patch > > > {{cbo_semijoin.q}} reproduces the error. > Stacktrace: > {noformat} > 2015-03-26 09:55:20,652 ERROR [main]: parse.CalcitePlanner (CalcitePlanner.java:genOPTree(269)) - CBO failed, skipping CBO. > java.lang.ArrayIndexOutOfBoundsException: 3 > at org.apache.calcite.rel.metadata.RelMdSize.averageColumnSizes(RelMdSize.java:193) > at sun.reflect.GeneratedMethodAccessor134.invoke(Unknown Source) > at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) > at java.lang.reflect.Method.invoke(Method.java:606) > at org.apache.calcite.rel.metadata.ReflectiveRelMetadataProvider$2$1.invoke(ReflectiveRelMetadataProvider.java:194) > at com.sun.proxy.$Proxy30.averageColumnSizes(Unknown Source) > at sun.reflect.GeneratedMethodAccessor64.invoke(Unknown Source) > at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) > at > at java.lang.reflect.Method.invoke(Method.java:606) > {noformat} -- This message was sent by Atlassian JIRA (v6.3.4#6332)