You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@drill.apache.org by "amit hadke (JIRA)" <ji...@apache.org> on 2016/04/28 20:34:12 UTC

[jira] [Created] (DRILL-4644) Allow setting format options in CTAS

amit hadke created DRILL-4644:
---------------------------------

             Summary: Allow setting format options in CTAS
                 Key: DRILL-4644
                 URL: https://issues.apache.org/jira/browse/DRILL-4644
             Project: Apache Drill
          Issue Type: Improvement
            Reporter: amit hadke
            Assignee: amit hadke
            Priority: Minor


User has to set session options in order to specify how CTAS should store a table.(store.format='json')

Add a new option in CTAS 'STORE AS' that takes optional parameters similar to format attributes used in table functions.

For example

CREATE TABLE <tablename> STORE AS(type => 'csv',
fieldDelimiter => ',') AS <query>




--
This message was sent by Atlassian JIRA
(v6.3.4#6332)