You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@drill.apache.org by "Victoria Markman (JIRA)" <ji...@apache.org> on 2015/02/27 23:16:04 UTC
[jira] [Commented] (DRILL-1286) Improve error message when
attempting to create tables/views in non-writeable workspaces
[ https://issues.apache.org/jira/browse/DRILL-1286?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14340920#comment-14340920 ]
Victoria Markman commented on DRILL-1286:
-----------------------------------------
This is already fixed. Running with 0.8.0 (git.commit.id.abbrev=d72d603)
{code}
0: jdbc:drill:schema=dfs> create view v1 as select a1, b1, c1 from t1;
+------------+------------+
| ok | summary |
+------------+------------+
| false | Unable to create view. Schema [dfs.default] is immutable. |
+------------+------------+
1 row selected (0.027 seconds)
{code}
> Improve error message when attempting to create tables/views in non-writeable workspaces
> ----------------------------------------------------------------------------------------
>
> Key: DRILL-1286
> URL: https://issues.apache.org/jira/browse/DRILL-1286
> Project: Apache Drill
> Issue Type: Bug
> Components: Metadata
> Affects Versions: 0.4.0
> Reporter: Neeraja
> Assignee: Jacques Nadeau
> Priority: Minor
> Fix For: Future
>
>
> Trying to create tables/views in non-write'able workspaces currently thrown an unintuitive error.
> Error: Current schema is not a Drill schema. Can't create new relations (tables or views) in non-Drill schemas.
> This should be fixed to something like below.
> 'This schema does not allow creation of new tables/views. Please ensure that the schema is enabled for write or choose a different schema'.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)