v1.2.3
What's Changed
Added
- partiql-ast: add
WithandWithListElementtoAstVisitorandSqlDialect - EXPERIMENTAL partiql-plan: add representation of
RelWithandWithListElementto the plan and the
OperatorVisitor - EXPERIMENTAL partiql-planner: add planner builder function to control whether
Withtable references are
rewritten to their query representation- NOTE evaluating plans without the inlined
Withrewrite will not work as expected. Users trying to evaluate
Withshould use the default planner.
- NOTE evaluating plans without the inlined
- Signed
INTERVALliterals support - Metas attached to
INTERVALPTypes if anINTERVALhas an unspecified precision or fractional precision EXTRACTfunction support onINTERVALdatumABSfunction support onINTERVALvalues- Support for
OVERLAPSpredicate - Add cli option -e to load PartiQL literal data as default catalog data
- Add toString() support for all datum types
- Add optional
distinguishNullMissingparameter toDatum.comparator()to control whethernullandmissingare treated as equivalent or distinct in comparisons - Remove the extra non-character Unicode in the function name when displaying cli errors
- EXPERIMENTAL Add
Datum.getTotalMonthsto retrieve the total number of months from a year-monthDatum - EXPERIMENTAL Add
Datum.getTotalSecondsto retrieve the total number of seconds from a day-timeDatum - fix the parsing of DATE_ADD/DATE_DIFF with an uncapitalized datetime field argument.
- fix that wrong offset is set when parsing Ion timestamp with time zone into Datum.
- Reimplemented DATE_ADD with interval plus arithmetic.
Fixed
- Specify the correct qualifier for
INTERVALdatum withMINUTE TO SECOND - Handle the formatting when the nanoseconds of
INTERVALdatum underflow - CLI printing of negative interval literals
- Fix alias collision problem when multiple table references need auto-generated aliases
- Display of
Ionin PartiQL CLI output - Support
INTERVALtimes and divide with numerics - Prioritize
missingpropagation when bothnullandmissingexist in function args - Return
missinginstead ofnullforNULLIF(MISSING, MISSING) - CLI printing of mixed sign literals
- Parsing of
TIMESTAMPandTIMEliterals with timezone offsets - Variable resolution for qualified references with
GROUP BY
Contributors
Thank you to all who have contributed!
Full Changelog: v1.2.2...v1.2.3