[prev in list] [next in list] [prev in thread] [next in thread] 

List:       drill-dev
Subject:    [jira] [Created] (DRILL-1913) Drill did not correctly preserve output field's case sensitivity
From:       "Jinfeng Ni (JIRA)" <jira () apache ! org>
Date:       2014-12-31 1:54:13
Message-ID: JIRA.12764332.1419990826000.119134.1419990853213 () Atlassian ! JIRA
[Download RAW message or body]

Jinfeng Ni created DRILL-1913:
---------------------------------

             Summary: Drill did not correctly preserve output field's case \
sensitivity  Key: DRILL-1913
                 URL: https://issues.apache.org/jira/browse/DRILL-1913
             Project: Apache Drill
          Issue Type: Bug
            Reporter: Jinfeng Ni
            Priority: Minor


For the following query,

{code}
select EMPLOYEE_ID from cp.`employee.json` limit 2;
+-------------+
> employee_id |
+-------------+
> 1           |
> 2           |
+-------------+
{code}

Even though upper-case EMPLOYEE_ID matches the field 'employee_id' in the input JSON \
file, Drill did not preset the upper-case in the output result, which seems to be not \
right.

The plan coming out of optiq/calcite seems right, as it has a project which will do \
the renaming. But Drill's logical planning will remove such project, hence not being \
able to preserve the upper-case in the output.




--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic