simple-ddl-parser icon indicating copy to clipboard operation
simple-ddl-parser copied to clipboard

Simple DDL Parser to parse SQL (HQL, TSQL, AWS Redshift, BigQuery, Snowflake and other dialects) ddl files to json/python dict with full information about columns: types, defaults, primary keys, etc....

Results 53 simple-ddl-parser issues
Sort by recently updated
recently updated
newest added

**Is your feature request related to a problem? Please describe.** As part of a CI pipeline, it'd be useful to document SQL DDL as ER diagrams. Graphviz, Mermaid, PlantUML are...

not-parser-feature

**Is your feature request related to a problem? Please describe.** Many DB tools generate `DDL` (with various extensions) and looking for conversion into Snowflake Terraform format **Describe the solution you'd...

question
not-parser-feature

**Is your feature request related to a problem? Please describe.** A clear and concise description of what the problem is. Ex. I'm always frustrated when [...] I have sql for...

**Describe the bug** Partition definition is not handled by the parser, 'parse_from_file' Returns an empty list **To Reproduce** Steps to reproduce the behavior: Add this code to a simple create...

help wanted
support_for_new_dialect

**Describe the bug** Commonly used Linux command line JQ tool doesn't work with JSON which prepared by sdp, because jq expect that wrapper is double quote. Example of real GCP...

Hi, I don't know if this is a bug or what it is exactly. Perhaps it's more connected to `snowflake-connector-python`... I have described everything on StackOverflow. Link below. Thought that...

I am using `parsed_object = DDLParser(object_ddl).run()` to parse Snowflake DDL queries. However, when I try to parse a table which has columns with autoincrement, the whole table is not being...

**Describe the bug** Reading an SQL DDL that uses the VISIBLE keyword causes an error and the entire table definition is not read **To Reproduce** Steps to reproduce the behavior:...

Following create table statement is not recognized by the parser, which is valid statement for Oracle database. ``` from simple_ddl_parser import DDLParser DDLParser("create table test (test_time timestamp(3) with time zone);").run()...

Within HQL the following is a valid create table statement: ``` CREATE TABLE a.b ( `c` array ) ``` But parsing this with DDLParser emits: ``` simple_ddl_parser.ddl_parser.DDLParserError: Unknown statement at...