Releases: partiql/partiql-lang-rust
Releases · partiql/partiql-lang-rust
v0.14.0
v0.13.0
[0.13.0]
Changed
- BREAKING Heavily refactors evaluation to be stateless
- BREAKING Heavily refactors Session & Evaluation Contexts to no longer require lifetime parameters
- BREAKING partiql-ast: Removes disused
SexpAST node
Added
- Added lowering and evaluation of graph
MATCHlabel negation, conjunction, and disjunction - Added lowering and evaluation of graph
MATCHWHEREclauses - Added lowering and evaluation of graph
MATCHmodes (i.e.,WALK,TRAIL,ACYCLIC,SIMPLE)
Removed
v0.12.0
Changed
- BREAKING partiql-parser: Added a source location to
ParseError::UnexpectedEndOfInput - BREAKING partiql-ast: Changed the modelling of parsed literals.
- BREAKING partiql-logical: Changed the modelling of logical plan literals.
- BREAKING partiql-eval: Fixed behavior of comparison and
BETWEENoperations w.r.t. type mismatches - BREAKING partiql-eval:
BindEvalExpr::bindtakesselfrather than&self - BREAKING Changed modeling of Ion Literals to be evaluated to Boxed Variants rather than eagerly transformed to PartiQL Values.
- BREAKING partiql-logical: Change the modeling of
ProjectAll - Fix some query evaluation edges cases.
Added
- partiql-value: Pretty-printing of
ValueviaToPrettytrait - Added
Datum, an interface to introspectingValues - Added graph
MATCHexpressions andGRAPH_TABLEexpression conformant with SQL 2023 Property Graph Query- Parsing and pretty-printing are intended to be conformant
- Only a subset of planning and evaluation are supported currently
- Added extension
scan_csv
Removed
v0.11.0
Changed
- BREAKING partiql-catalog: refactored structure of crate; module paths have changes
Added
- Added
partiql-common. - Added
NodeIdtoStaticType. - BREAKING Added thread-safe
PartiqlShapeBuilderand automaticNodeIdgeneration for theStaticType. - Added a static thread safe
shape_builderfunction that provides a convenient way for usingPartiqlShapeBuilderfor creating new shapes. - Added
partiql_common::meta::PartiqlMetadata - Added ability for crate importers to add scalar User Defined Functions (UDFs) to the catalog
- Added
extension/partiql-extension-value-functionscrate demonstrating use of scalar UDFs - Added
TUPLEUNIONandTUPLECONCATfunctions in theextension/partiql-extension-value-functionscrate
Removed
- BREAKING Removed
partiql-source-map. - BREAKING Removed
constPartiQL types underpartiql-typesin favor ofPartiqlShapeBuilder. - BREAKING Removed
StaticType'snew,new_non_nullable, andas_non-nullableAPIs in favor ofPartiqlShapeBuilder.
v0.10.1
v0.10.0
v0.9.0
Changed
- BREAKING: partiql-ast: changed modeling of
BagOpExprsetqfield to be anOption - BREAKING: partiql-ast: changed modeling of
GroupByExprstrategyfield to be anOption - BREAKING: partiql-ast: changed modeling of
PathStepto splitPathExprtoPathIndex(e.g.,[2]) andPathProject(e.g.,.a) - BREAKING: partiql-ast: changed modeling of
PathStepto renamePathWildcardtoPathForEach(for[*]) - BREAKING: partiql-types: changed type ordering to match specification order
- BREAKING: partiql-types: changed some interfaces to reduce clones and be more ergonomic
Added
- partiql-ast: Pretty-printing of AST via
ToPrettytrait - partiql-ast: Added
NodeBuilderto make building ASTs easier
Fixed
- Minor documentation issues
v0.8.0
Changed
- BREAKING: Adds
optionalitytoStructFieldinpartiql-types - BREAKING: Removed
NULLandMISSINGtypes frompartiql_types::PartiQLType - BREAKING: Removed
partiql_ast_passes::partiql_type
Added
- BREAKING: Introduces
PartiqlShapeand removesPartiqlType - Adds
partiql-extension-ddlthat allows generation of PartiQL Basic DDL Syntax for a PartiQL Shape.