Releases: partiql/partiql-lang-rust
Releases · partiql/partiql-lang-rust
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
Sexp
AST node
Added
- Added lowering and evaluation of graph
MATCH
label negation, conjunction, and disjunction - Added lowering and evaluation of graph
MATCH
WHERE
clauses - Added lowering and evaluation of graph
MATCH
modes (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
BETWEEN
operations w.r.t. type mismatches - BREAKING partiql-eval:
BindEvalExpr::bind
takesself
rather 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
Value
viaToPretty
trait - Added
Datum
, an interface to introspectingValue
s - Added graph
MATCH
expressions andGRAPH_TABLE
expression 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
NodeId
toStaticType
. - BREAKING Added thread-safe
PartiqlShapeBuilder
and automaticNodeId
generation for theStaticType
. - Added a static thread safe
shape_builder
function that provides a convenient way for usingPartiqlShapeBuilder
for 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-functions
crate demonstrating use of scalar UDFs - Added
TUPLEUNION
andTUPLECONCAT
functions in theextension/partiql-extension-value-functions
crate
Removed
- BREAKING Removed
partiql-source-map
. - BREAKING Removed
const
PartiQL types underpartiql-types
in favor ofPartiqlShapeBuilder
. - BREAKING Removed
StaticType
'snew
,new_non_nullable
, andas_non-nullable
APIs in favor ofPartiqlShapeBuilder
.
v0.10.1
v0.10.0
v0.9.0
Changed
- BREAKING: partiql-ast: changed modeling of
BagOpExpr
setq
field to be anOption
- BREAKING: partiql-ast: changed modeling of
GroupByExpr
strategy
field to be anOption
- BREAKING: partiql-ast: changed modeling of
PathStep
to splitPathExpr
toPathIndex
(e.g.,[2]
) andPathProject
(e.g.,.a
) - BREAKING: partiql-ast: changed modeling of
PathStep
to renamePathWildcard
toPathForEach
(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
ToPretty
trait - partiql-ast: Added
NodeBuilder
to make building ASTs easier
Fixed
- Minor documentation issues
v0.8.0
Changed
- BREAKING: Adds
optionality
toStructField
inpartiql-types
- BREAKING: Removed
NULL
andMISSING
types frompartiql_types::PartiQLType
- BREAKING: Removed
partiql_ast_passes::partiql_type
Added
- BREAKING: Introduces
PartiqlShape
and removesPartiqlType
- Adds
partiql-extension-ddl
that allows generation of PartiQL Basic DDL Syntax for a PartiQL Shape.
v0.7.2
v0.7.1
v0.7.0
Changed
- Adds quotes to the attributes of PartiQL tuple's debug output so it can be read and transformed using Kotlin
partiql-cli
- BREAKING: partiql-eval: Changes the interface to
EvalPlan
to accept anEvalContext
- BREAKING: partiql-eval: Changes
EvaluationError
to not implementClone
- BREAKING: partiql-eval: Changes the structure of
EvalPlan
Added
- partiql-extension-visualize: Add
partiql-extension-visualize
for visualizing AST and logical plan - partiql-eval: Add a
SessionContext
containing both a system-level and a user-level context object usable by expression evaluation
Fixed
- partiql-logical-planner: Fixed
ORDER BY
's ability to see into projection aliases - partiql-eval: Fixed errors in
BaseTableExpr
s get added to the evaluation context - partiql-eval: Fixed certain errors surfacing in Permissive evaluation mode, when they should only be present in Strict mode