eliaperantoni commented on code in PR #13664:
URL: https://github.com/apache/datafusion/pull/13664#discussion_r1932086369
##########
datafusion/sqllogictest/test_files/create_external_table.slt:
##########
@@ -33,23 +33,23 @@ statement error DataFusion error: SQL error:
ParserError\("Missing LOCATION clau
CREATE EXTERNAL TABLE t STORED AS CSV
# Option value is missing
-statement error DataFusion error: SQL error: ParserError\("Expected: string or
numeric value, found: \)"\)
+statement error DataFusion error: SQL error: ParserError\("Expected: string or
numeric value, found: \) at Line: 1, Column: 66"\)
Review Comment:
Yes it does work for multiline statements, and it's the parser that outputs
that error.
```sql
WITH cte1 AS (
SELECT 1 AS id
), cte2 AS (
SELECT 1 AS id
),
SELECT id FROM cte1, cte2, users
-- SQL error: ParserError("Expected: AS, found: id at Line: 6, Column: 8")
```
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]