You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@drill.apache.org by "Aman Sinha (JIRA)" <ji...@apache.org> on 2015/04/19 17:15:58 UTC
[jira] [Created] (DRILL-2827) Allow implicit cast from strings to
boolean
Aman Sinha created DRILL-2827:
---------------------------------
Summary: Allow implicit cast from strings to boolean
Key: DRILL-2827
URL: https://issues.apache.org/jira/browse/DRILL-2827
Project: Apache Drill
Issue Type: Bug
Components: Functions - Drill
Affects Versions: 0.8.0
Reporter: Aman Sinha
Assignee: Aman Sinha
The following query fails:
{code}
select * from dfs.`bool.json` where key = 'true';
Error in expression at index -1. Error: Missing function implementation: [castINT(BIT-REQUIRED)]. Full expression: --UNKNOWN EXPRESSION--..
{code}
The reason is that a prior fix for DRILL-2590 removed the implicit casting from string literals to boolean. That fix is valid for non-string values.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)