Details
-
Task
-
Status: Closed
-
Major
-
Resolution: Fixed
-
None
-
None
-
None
Description
Support queries like:
USE dfs.tmp; CREATE TABLE nameposTable AS SELECT first_name, last_name, position_id FROM cp.`employee.json`;
Above query will create "nameposTable" directory under the dfs.tmp workspace and it has the data files created from the SELECT query.
As part of this there is a change in format of workspaces field of storage-plugins.json:
New workspaces field looks like:
workspaces: { "home" : { location: "/", writable: false }, "tmp" : { location: "/tmp/drilltest", writable: true, storageformat: "csv" } },
"storageformat" tells what is the default format of new tables created in this workspace. "writable" tells whether new tables/views are allowed in this workspace.
Attachments
Attachments
Issue Links
- is depended upon by
-
DRILL-675 Views created in dfs (with no workspace subschema) schema are not be found when queried
- Resolved
- links to