Wail Y. Alkowaileet created ASTERIXDB-3297:
----------------------------------------------

             Summary: 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
             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