Adds support for using EXCLUDED within DML ON-CONFLICT-ACTION conditions. Closes #1111.
Changed
Updates Kotlin target from 1.4 (DEPRECATED) to 1.6
Moves PartiqlAst, PartiqlLogical, PartiqlLogicalResolved, and PartiqlPhysical (along with the transforms)
to a new project, partiql-ast. These are still imported into partiql-lang with the api annotation. Therefore,
no action is required to consume the migrated classes. However, this now gives consumers of the AST, Experimental Plans,
Visitors, and VisitorTransforms the option of importing them directly using: org.partiql:partiql-ast:${VERSION}.
The file partiql.ion is still published in the partiql-lang-kotlin JAR.
Moves internal class org.partiql.lang.syntax.PartiQLParser to org.partiql.lang.syntax.impl.PartiQLPigParser as we refactor for explicit API.
Moves ANTLR grammar to partiql-parser package. The files PartiQL.g4 and PartiQLTokens.g4 are still published in the partiql-lang-kotlin JAR.
Breaking: Adds new property, rowAlias, to experimental PartiqlLogical.DmlOperation.DmlUpdate,
PartiqlLogical.DmlOperation.DmlReplace, PartiqlLogicalResolved.DmlOperation.DmlUpdate,
PartiqlLogicalResolved.DmlOperation.DmlReplace, PartiqlPhysical.DmlOperation.DmlUpdate, and
PartiqlPhysical.DmlOperation.DmlReplace.
Breaking: Removes deprecated/unused blacklist() and denyList() from org.partiql.lang.eval
Breaking: Removes deprecated enum LEGACY in org.partiql.lang.eval.CompileOptions
Breaking: Removes deprecated org.partiql.lang.eval.ExprValueFactory, as well as all methods that had its instance
among arguments. The counterparts of these methods without an ExprValueFactory are still available. The affected methods
include: ofIonStruct() in org.partiql.lang.eval.Bindings, a constructor of org.partiql.lang.CompilerPipeline,
convert() in org.partiql.lang.eval.io.DelimitedValues.ConversionMode, exprValue() from
org.partiql.lang.eval.io.DelimitedValues, a constructor for org.partiql.lang.eval.physical.EvaluatorState, and
valueFactory, build, builder, standard in org.partiql.lang.CompilerPipeline
Adds support for using EXCLUDED within DML ON-CONFLICT-ACTION conditions. Closes #1111.
Changed
Updates Kotlin target from 1.4 (DEPRECATED) to 1.6
Moves PartiqlAst, PartiqlLogical, PartiqlLogicalResolved, and PartiqlPhysical (along with the transforms)
to a new project, partiql-ast. These are still imported into partiql-lang with the api annotation. Therefore,
no action is required to consume the migrated classes. However, this now gives consumers of the AST, Experimental Plans,
Visitors, and VisitorTransforms the option of importing them directly using: org.partiql:partiql-ast:${VERSION}.
The file partiql.ion is still published in the partiql-lang-kotlin JAR.
Moves internal class org.partiql.lang.syntax.PartiQLParser to org.partiql.lang.syntax.impl.PartiQLPigParser as we refactor for explicit API.
Moves ANTLR grammar to partiql-parser package. The files PartiQL.g4 and PartiQLTokens.g4 are still published in the partiql-lang-kotlin JAR.
Breaking: Adds new property, rowAlias, to experimental PartiqlLogical.DmlOperation.DmlUpdate,
PartiqlLogical.DmlOperation.DmlReplace, PartiqlLogicalResolved.DmlOperation.DmlUpdate,
PartiqlLogicalResolved.DmlOperation.DmlReplace, PartiqlPhysical.DmlOperation.DmlUpdate, and
PartiqlPhysical.DmlOperation.DmlReplace.
Breaking: Removes deprecated/unused blacklist() and denyList() from org.partiql.lang.eval
Breaking: Removes deprecated enum LEGACY in org.partiql.lang.eval.CompileOptions
Breaking: Removes deprecated org.partiql.lang.eval.ExprValueFactory, as well as all methods that had its instance
among arguments. The counterparts of these methods without an ExprValueFactory are still available. The affected methods
include: ofIonStruct() in org.partiql.lang.eval.Bindings, a constructor of org.partiql.lang.CompilerPipeline,
convert() in org.partiql.lang.eval.io.DelimitedValues.ConversionMode, exprValue() from
org.partiql.lang.eval.io.DelimitedValues, a constructor for org.partiql.lang.eval.physical.EvaluatorState, and
valueFactory, build, builder, standard in org.partiql.lang.CompilerPipeline
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 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)
Bumps org.partiql:partiql-lang-kotlin from 0.6.0 to 0.12.0.
Release notes
Sourced from org.partiql:partiql-lang-kotlin's releases.
... (truncated)
Changelog
Sourced from org.partiql:partiql-lang-kotlin's changelog.
... (truncated)
Commits
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 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)