Closed pplanner16 closed 6 years ago
That statement is valid, syntactically, but not valid semantically. sqlite-parser parser does not have these kinds of semantic validations in its current form.
If you want to check statements for these types of issues, you need a linting/validation tool that accepts the ASTs generated by this parser. Many semantic validations would also require knowledge of the database schema for the statements (e.g., wrong column data type).
Hello, If I execute the following in the sqlite3 CLI -
I receive an error, as expected -
why does sqlite-parser not recognize it as invalid?