-
it occurs error when capturing ddl in mysql 8:
Error parsing SQL: 'CREATE DATABASE IF NOT EXISTS `test` CHARACTER SET = utf8mb4 COLLATE = utf8mb4_general_ci ENCRYPTION = 'N''
Its root cause is pa…
-
### Version
0.6.0
### Describe what's wrong
When parsing metadata from a Doris database, fields with the data type array are incorrectly parsed as varchar() instead of retaining the array str…
-
`Alter rule` is not a standard SQL, it belongs to the PG dialect.
Therefore `AlterRuleStatement` should not exist under the `common` package.
Since `ALTER RULE` is a PostgreSQL language extens…
-
https://lists.apache.org/thread/nvlt0jfvvo0gpc5djw24xt8ss68k1ysl
Original problem:
I am trying to parse a DDL statement such as CREATE VIEW V AS SELECT DATE_PART(YEAR, T) FROM TABLE.
If I am us…
-
## Requested Solution/Feature
- Several of the DDL and DML statements don't allow for qualified identifiers. This ticket is specifically asking for support for insert statements with qualified identi…
-
```
What steps will reproduce the problem?
1.I'm parsing a .sql file from oracle to a xml catalog with your DDLParser tool.
What is the expected output? What do you see instead?
The xml catalog but w…
-
### Search before asking
- [X] I searched the [issues](https://github.com/sqlfluff/sqlfluff/issues) and found no similar issues.
### What Happened
Below Snowflake SQL is valid:
```sql
create or …
-
canal.valueExpr can't work
```sql
ALTER TABLE `sometable` MODIFY COLUMN `some_col` varchar(1024) CHARACTER SET utf8 COLLATE utf8_bin NOT NULL DEFAULT '' COMMENT 'comments' AFTER `other_col`
```
be…
-
```
What steps will reproduce the problem?
1.I'm parsing a .sql file from oracle to a xml catalog with your DDLParser tool.
What is the expected output? What do you see instead?
The xml catalog but w…
-
Steps to Reproduce the Problem:
```
String ddl = """
CREATE TABLE [Person].[Person]
(
[BusinessEntityID] [int] NOT NULL,
[PersonType] [nchar](2) NOT NULL,
[NameStyle] [dbo].…