You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@drill.apache.org by "Jacques Nadeau (JIRA)" <ji...@apache.org> on 2015/11/16 18:40:11 UTC

[jira] [Comment Edited] (DRILL-4090) select * into table support

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

Jacques Nadeau edited comment on DRILL-4090 at 11/16/15 5:39 PM:
-----------------------------------------------------------------

Drill does provide CTAS functionality (CREATE TABLE AS). This is the ANSI SQL standard version of 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?


was (Author: jnadeau):
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)