[
https://issues.apache.org/jira/browse/DRILL-6726?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Robert Hou updated DRILL-6726:
------------------------------
Summary: Drill should return a better error message when an existing view
uses a table that has a mixed case schema (was: Drill should return a better
error message when a view uses a table that has a mixed case schema)
> Drill should return a better error message when an existing view uses a table
> that has a mixed case schema
> ----------------------------------------------------------------------------------------------------------
>
> Key: DRILL-6726
> URL: https://issues.apache.org/jira/browse/DRILL-6726
> Project: Apache Drill
> Issue Type: Bug
> Components: Execution - Relational Operators
> Affects Versions: 1.15.0
> Reporter: Robert Hou
> Assignee: Arina Ielchiieva
> Priority: Major
> Fix For: 1.15.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}
> It would be helpful to users if the error message explains that these views
> need to be re-created.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)