datacontract / datacontract-cli

CLI to manage your datacontract.yaml files
https://cli.datacontract.com
Other
479 stars 94 forks source link

Bump simple-ddl-parser from 1.6.1 to 1.7.0 #444

Closed dependabot[bot] closed 1 month ago

dependabot[bot] commented 1 month ago

Bumps simple-ddl-parser from 1.6.1 to 1.7.0.

Release notes

Sourced from simple-ddl-parser's releases.

0.24.0 HQL support for CLUSTERED BY, INTO .. BUCKETS and more

Fixes:

HQL:

  1. More then 2 tblproperties now are parsed correctly xnuinside/simple-ddl-parser#104

Common:

  1. 'set' in lower case now also parsed validly.
  2. Now names like 'schema', 'database', 'table' can be used as names in CREATE DABASE | SCHEMA | TABLESPACE | DOMAIN | TYPE statements and after INDEX and CONSTRAINT.
  3. Creation of empty tables also parsed correctly (like CREATE Table table;).

New Statements Support:

HQL:

  1. Added support for CLUSTERED BY - xnuinside/simple-ddl-parser#103
  2. Added support for INTO ... BUCKETS
  3. CREATE REMOTE DATABASE | SCHEMA
Changelog

Sourced from simple-ddl-parser's changelog.

v1.7.0

Fixes

  1. DEFAULT Value with '::' cast parsed correctly now - xnuinside/simple-ddl-parser#286

Improvements

  1. Added support for ENUM & SET column type - xnuinside/simple-ddl-parser#259

v1.6.1

Fixes

  1. #289 CREATE SCHEMA IF NOT EXISTS plus comment fail
  2. schema or db.schema location in snowflake

v1.6.0

IMPORTANT:

In this versions there is some output changes & fixes that can break your code.

  1. Now all arguments inside brackets are parsed as separate strings in the list. For example: file_format = (TYPE=JSON NULL_IF=('field') this was parsed like 'NULL_IF': "('field')", now it will be: 'NULL_IF': ["'field'"],

  2. Added separate tokens for EQ = and IN (previously they was parsed as IDs also - for internal info, for contributors.

  3. Some check statements in columns now parsed validly, also IN statements parsed as normal lists. So this statement include_exclude_ind CHAR(1) NOT NULL CONSTRAINT chk_metalistcombo_logicalopr CHECK (include_exclude_ind IN ('I', 'E')),

will produce this output:

{'check': {'constraint_name': 'chk_metalistcombo_logicalopr', 'statement': {'in_statement': {'in': ["'I'", "'E'"], 'name': 'include_exclude_ind'}}},

Fixes

  1. DEFAULT word now is not arriving in key 'default' (it was before in some cases)

New Features

  1. Added Athena output mode and initial support - datacontract/datacontract-cli#332

v1.5.4

Improvements

Snowflake :

  1. In Snowflake add pattern token for external table statement, and improve location rendering

v1.5.3

Fixes

... (truncated)

Commits


Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot show ignore conditions` will show all of the ignore conditions of the specified dependency - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)