Skip to content

[BUG] JSQLParser 5.4-SNAPSHOT : MySQL : Failed to parse SELECT INTO OUTFILE #2299

@tomershay

Description

@tomershay

Failing SQL Feature:

Seems that SELECT ... INTO OUTFILE ... is not supported in the parser, although supported in MySQL.

ParseException: Encountered: <K_INTO> / "INTO", at line 1, column 21, in lexical state DEFAULT.
Was expecting one of these terminals within expansion starting at 1054:23:
    <EOF> (inside 1054:23) 

SQL Example:

SELECT * FROM users INTO OUTFILE '/tmp/users.csv'
FIELDS TERMINATED BY ',' ENCLOSED BY '"'
LINES TERMINATED BY '\n';

Metadata

Metadata

Assignees

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions