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

Robert Hou updated DRILL-6725:
------------------------------
    Description: 
Drill 1.14 changes schemas to be case-insensitive  (DRILL-6492).  If a view 
references a schema which has upper case letters, the view needs to be rebuilt. 
 For example:
{noformat}
create or replace view `dfs.drillTestDirP1`.student_parquet_v as select * from 
`dfs.drillTestDirP1`.student;
{noformat}
If a query references this schema, Drill will return an exception:
{noformat}
java.sql.SQLException: VALIDATION ERROR: Failure while attempting to expand 
view. Requested schema drillTestDirP1 not available in schema dfs.
{noformat}
Do we have release notes?  If so, this should be documented.

  was:
Drill 1.14 changes schemas to be case-insensitive  (DRILL-6492).  If a view 
references a schema which has upper case letters, the view needs to be rebuilt. 
 For example:

create or replace view `dfs.drillTestDirP1`.student_parquet_v as select * from 
`dfs.drillTestDirP1`.student;

If a query references this schema, Drill will return an exception:

java.sql.SQLException: VALIDATION ERROR: Failure while attempting to expand 
view. Requested schema drillTestDirP1 not available in schema dfs.

Do we have release notes?  If so, this should be documented.


> Drill 1.14 cannot use existing views if they reference tables with mixed case 
> schemas
> -------------------------------------------------------------------------------------
>
>                 Key: DRILL-6725
>                 URL: https://issues.apache.org/jira/browse/DRILL-6725
>             Project: Apache Drill
>          Issue Type: Bug
>          Components: Documentation
>    Affects Versions: 1.14.0
>            Reporter: Robert Hou
>            Assignee: Bridget Bevens
>            Priority: Major
>             Fix For: 1.14.0
>
>
> Drill 1.14 changes schemas to be case-insensitive  (DRILL-6492).  If a view 
> references a schema which has upper case letters, the view needs to be 
> rebuilt.  For example:
> {noformat}
> create or replace view `dfs.drillTestDirP1`.student_parquet_v as select * 
> from `dfs.drillTestDirP1`.student;
> {noformat}
> If a query references this schema, Drill will return an exception:
> {noformat}
> java.sql.SQLException: VALIDATION ERROR: Failure while attempting to expand 
> view. Requested schema drillTestDirP1 not available in schema dfs.
> {noformat}
> Do we have release notes?  If so, this should be documented.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to