[
https://issues.apache.org/jira/browse/DRILL-1119?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Jacques Nadeau resolved DRILL-1119.
-----------------------------------
Resolution: Fixed
> Bad error message for view creation in non writeable workspaces
> ---------------------------------------------------------------
>
> Key: DRILL-1119
> URL: https://issues.apache.org/jira/browse/DRILL-1119
> Project: Apache Drill
> Issue Type: Improvement
> Components: Client - ODBC
> Reporter: George Chow
> Assignee: DrillCommitter
> Fix For: 0.4.0
>
> Attachments: DRILL-1119.1.patch.txt
>
>
> The error message when Drill fails to create a view looks as follow:
> {code}
> [7/7/2014 3:43:11 PM] Executing Query: CREATE VIEW `dfs.default`.`test` AS
> SELECT CAST(R_NAME as varchar(20))Country,CAST(R_COMMENT as
> varchar(200))Comments, R_RegionKey FROM
> `dfs`.`default`.`./opt/mapr/drill/drill-1.0.0.BETA1/sample-data/region.parquet`
> [7/7/2014 3:43:11 PM] Failed to create view test
> [7/7/2014 3:43:11 PM] Current schema 'dfs.default' is not a mutable schema.
> Can't create views in this schema.
> {code}
> This looks daunting. Some improvement please.
--
This message was sent by Atlassian JIRA
(v6.2#6252)