You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@drill.apache.org by "Mehant Baid (JIRA)" <ji...@apache.org> on 2015/06/17 02:33:00 UTC

[jira] [Updated] (DRILL-2549) Implicit Cast between integer and varchar columns in a join should work

     [ https://issues.apache.org/jira/browse/DRILL-2549?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Mehant Baid updated DRILL-2549:
-------------------------------
    Fix Version/s:     (was: 1.1.0)
                   Future

> 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 - Relational Operators
>            Reporter: Rahul Challapalli
>            Assignee: Mehant Baid
>             Fix For: Future
>
>         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)