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.5.3 to 1.6.0 #372

Closed dependabot[bot] closed 3 months ago

dependabot[bot] commented 3 months ago

Bumps simple-ddl-parser from 1.5.3 to 1.6.0.

Release notes

Sourced from simple-ddl-parser's releases.

Added Athena as output mode, refactoring & better support for '\' strings

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 - xnuinside/simple-ddl-parser#272
Changelog

Sourced from simple-ddl-parser's changelog.

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

  1. In Snowflake unexpected error when STRIP_OUTER_ARRAY property in file_format statement - xnuinside/simple-ddl-parser#276

v1.5.2

Improvements

MySQL

  1. Added support for COLLATE - xnuinside/simple-ddl-parser#266

Fixes

  1. In Snowflake Fix unexpected behaviour when file_format name given - xnuinside/simple-ddl-parser#273

... (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)