[ 
https://issues.apache.org/jira/browse/DRILL-4090?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15006972#comment-15006972
 ] 

Jacques Nadeau commented on DRILL-4090:
---------------------------------------

Drill does provide CTAS functionality (CREATE TABLE AS). This is the ANSI SQL 
standard version SELECT INTO. I believe SELECT INTO is the SQL Server approach 
to the same functionality. Is there a reason you need SELECT INTO and can't use 
CTAS?

> select * into table support
> ---------------------------
>
>                 Key: DRILL-4090
>                 URL: https://issues.apache.org/jira/browse/DRILL-4090
>             Project: Apache Drill
>          Issue Type: Improvement
>          Components: Query Planning & Optimization, SQL Parser
>    Affects Versions: 1.2.0
>         Environment: Drill 1.2
>            Reporter: Ajay Rana
>            Priority: Minor
>
> getting parsing error while querying 
> select * into dfs.tmp.`high-val-products` from dfs.root.`/json-docs` where 
> mvp>1000;
> Error: PARSE ERROR: Encountered "into" at line 1, column 10.
> it seems Drill wont support select * into table feature which is widely used 
> in the SQL world.



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

Reply via email to