drill-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Rahul Challapalli (JIRA)" <j...@apache.org>
Subject [jira] [Created] (DRILL-4781) Implicit casting not working with abs(...) function
Date Fri, 15 Jul 2016 00:51:20 GMT
Rahul Challapalli created DRILL-4781:

             Summary: Implicit casting not working with abs(...) function
                 Key: DRILL-4781
                 URL: https://issues.apache.org/jira/browse/DRILL-4781
             Project: Apache Drill
          Issue Type: Bug
          Components: Execution - Data Types, Functions - Drill
    Affects Versions: 1.7.0, 1.8.0
            Reporter: Rahul Challapalli

git commit # : 9878170d082a58af08b0b7b75494a76546d73580

The below queries succeed :
 select min(columns[0]) from dfs.`/drill/testdata/lineitem.tbl`;
select abs(columns[0] + 1) from dfs.`/drill/testdata/lineitem.tbl`;

However the below query fails
select abs(columns[0]) from dfs.`/drill/testdata/lineitem.tbl`;
Error: SYSTEM ERROR: SchemaChangeException: Failure while trying to materialize incoming schema.
Error in expression at index -1.  Error: Missing function implementation: [castTINYINT(VARCHAR-OPTIONAL)].
 Full expression: --UNKNOWN EXPRESSION--..

Fragment 0:0

[Error Id: 53714c5d-34e0-4518-bd14-b7774f60847e on qa-node190.qa.lab:31010] (state=,code=0)

Any reason why implicit casting is not working in the above case? I attached the logs and
the data file.

This message was sent by Atlassian JIRA

View raw message