Adds an initial implementation of GPML (Graph Pattern Matching Language), following
PartiQL RFC-0025
and RFC-0033.
This initial implementation includes:
A file format for external graphs, defined as a schema in ISL (Ion Schema Language),
as well as an in-memory graph data model and a reader for loading external graphs into it.
CLI shell commands !add_graph and !add_graph_from_file for bringing
externally-defined graphs into the evaluation environment.
Evaluation of straight-path patterns with simple label matching and
all directed/undirected edge patterns.
Adds new TupleConstraint variant, Ordered, to represent ordering in StructType. See the KDoc for more information.
Changed
Breaking: The fields attribute of org.partiql.types.StructType is no longer a Map<String, StaticType>. It is
now a List<org.partiql.types.StructType.Field>, where Field contains a key (String) and value (StaticType). This
is to allow duplicates within the StructType.
Deprecated
None
Fixed
Fixes the ability for JOIN predicates to access the FROM source aliases and corresponding attributes.
Added standard SQL built-in functions POSITION, OVERLAY, LENGTH, BIT_LENGTH, OCTET_LENGTH, CARDINALITY,
an additional builtin TEXT_REPLACE, and standard SQL aggregations on booleans EVERY, ANY, SOME.
Breaking Added coercion of SQL-style subquery to a single value, as defined in SQL for
subqueries occurring in a single-value context and outlined in Chapter 9 of the PartiQL specification.
Adds an initial implementation of GPML (Graph Pattern Matching Language), following
PartiQL RFC-0025
and RFC-0033.
This initial implementation includes:
A file format for external graphs, defined as a schema in ISL (Ion Schema Language),
as well as an in-memory graph data model and a reader for loading external graphs into it.
CLI shell commands !add_graph and !add_graph_from_file for bringing
externally-defined graphs into the evaluation environment.
Evaluation of straight-path patterns with simple label matching and
all directed/undirected edge patterns.
Adds new TupleConstraint variant, Ordered, to represent ordering in StructType. See the KDoc for more information.
Changed
Breaking: The fields attribute of org.partiql.types.StructType is no longer a Map<String, StaticType>. It is
now a List<org.partiql.types.StructType.Field>, where Field contains a key (String) and value (StaticType). This
is to allow duplicates within the StructType.
Deprecated
Fixed
Fixes the ability for JOIN predicates to access the FROM source aliases and corresponding attributes.
Added standard SQL built-in functions POSITION, OVERLAY, LENGTH, BIT_LENGTH, OCTET_LENGTH, CARDINALITY,
an additional builtin TEXT_REPLACE, and standard SQL aggregations on booleans EVERY, ANY, SOME.
Breaking Added coercion of SQL-style subquery to a single value, as defined in SQL for
subqueries occurring in a single-value context and outlined in Chapter 9 of the PartiQL specification.
This is backward incompatible with the prior behavior (which left the computed collection as is),
but brings it in conformance with the specification.
Added partiql-plan package which contains experimental PartiQL Plan data structures.
Initializes SPI Framework under partiql-spi.
Models experimental Schema with constraints.
With this change, we're introducing Tuple and Collection constraints to be able to model the shape of data as
constraints.
Introduces the PartiQLSchemaInferencer and PlannerSession
The PlannerSession describes the current session and is used by the PartiQLSchemaInferencer.
The PartiQLSchemaInferencer provides a function, infer, to aid in inferring the output StaticType of a
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.11.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)