Return-Path: X-Original-To: apmail-drill-issues-archive@minotaur.apache.org Delivered-To: apmail-drill-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 23B3417ECC for ; Tue, 24 Mar 2015 23:44:53 +0000 (UTC) Received: (qmail 40783 invoked by uid 500); 24 Mar 2015 23:44:53 -0000 Delivered-To: apmail-drill-issues-archive@drill.apache.org Received: (qmail 40751 invoked by uid 500); 24 Mar 2015 23:44:53 -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 40701 invoked by uid 99); 24 Mar 2015 23:44:53 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 24 Mar 2015 23:44:53 +0000 Date: Tue, 24 Mar 2015 23:44:52 +0000 (UTC) From: "Rahul Challapalli (JIRA)" To: issues@drill.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Updated] (DRILL-2549) Implicit Cast between integer and varchar columns in a join should work 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/DRILL-2549?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Rahul Challapalli updated DRILL-2549: ------------------------------------- Attachment: error.log fewtypes_null.parquet fewtypes.tbl > Implicit Cast between integer and varchar columns in a join should work > ----------------------------------------------------------------------- > > Key: DRILL-2549 > URL: https://issues.apache.org/jira/browse/DRILL-2549 > Project: Apache Drill > Issue Type: Bug > Components: Execution - Data Types, Execution - Relational Operators > Reporter: Rahul Challapalli > Assignee: Daniel Barclay (Drill) > Attachments: error.log, fewtypes.tbl, fewtypes_null.parquet > > > git.commit.id.abbrev=f1b59ed > I attached 2 files which contain the same values > The below query is not doing an implicit cast between a varchar and an integer > {code} > select count(*) from dfs.`cross-sources`.`fewtypes_null.parquet` p > inner join dfs.`cross-sources`.`fewtypes_null.tbl` o > on p.int_col=o.columns[0]; > Query failed: RemoteRpcException: Failure while running fragment., Failure finding function that runtime code generation expected. Signature: compare_to_nulls_high( INT:OPTIONAL, VARCHAR:OPTIONAL ) returns INT:REQUIRED [ 08df7d57-c436-4ff8-9a31-48368ba05531 on qa-node190.qa.lab:31010 ] > [ 08df7d57-c436-4ff8-9a31-48368ba05531 on qa-node190.qa.lab:31010 ] > {code} -- This message was sent by Atlassian JIRA (v6.3.4#6332)