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

ASF subversion and git services commented on ASTERIXDB-3297:
------------------------------------------------------------

Commit 532559b968627bf7f232986c51d72729fbd6cbd1 in asterixdb's branch 
refs/heads/master from Wail Alkowaileet
[ https://gitbox.apache.org/repos/asf?p=asterixdb.git;h=532559b968 ]

[MULTIPLE ISSUES] COPY fixes

- user model changes: no
- storage format changes: no
- interface changes: no

Details:
- ASTERIXDB-3297: COPY FROM fails if INTO and
  AS are both specified
- ASTERIXDB-3296: Use default namespace if
  database/dataverse were omitted

Change-Id: Icd7ec99ea342881475c896c6b82287902d50c7d5
Reviewed-on: https://asterix-gerrit.ics.uci.edu/c/asterixdb/+/17900
Integration-Tests: Jenkins <[email protected]>
Reviewed-by: Wail Alkowaileet <[email protected]>
Reviewed-by: Murtadha Hubail <[email protected]>
Tested-by: Jenkins <[email protected]>


> COPY FROM fails if INTO and AS are both specified 
> --------------------------------------------------
>
>                 Key: ASTERIXDB-3297
>                 URL: https://issues.apache.org/jira/browse/ASTERIXDB-3297
>             Project: Apache AsterixDB
>          Issue Type: Bug
>          Components: SQL - Translator SQL++
>    Affects Versions: 0.9.9
>            Reporter: Wail Y. Alkowaileet
>            Assignee: Wail Y. Alkowaileet
>            Priority: Major
>             Fix For: 0.9.9
>
>
> {noformat}
> COPY INTO MyDataset1 AS (
>     f1 int,
>     f2 int,
>     f3 int,
>     f4 string
> )
> FROM localfs
> PATH ("asterix_nc1://data/csv/header/h_mul_rec_with_ln.csv")
> WITH {
>     "format": "csv",
>     "header": true
> }; {noformat}
> This fails with a syntax error



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to