Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Tags: google/zetasql

Tags

2025.09.1

Toggle 2025.09.1's commit message
Export of internal ZetaSQL changes.

--
Change by ZetaSQL Team <[email protected]>:
Move analyzer DP basic tests with set operations into their own dedicated file.
--
Change by ZetaSQL Team <[email protected]>:
Move analyzer DP tests with set operations related to the privacy user ID column to their own file.
--
Change by ZetaSQL Team <[email protected]>:
Update one of the comment symbols in AS-pipe-operator.md
--
Change by ZetaSQL Team <[email protected]>:
Remove incorrect note about pipe operators from the 'Pipe syntax' section
--
Change by ZetaSQL Team <[email protected]>:
Move DP tests for userid consistency with set operations in their own file.
--
Change by ZetaSQL Team <[email protected]>:
Increase timeouts for long-running tests
--
Change by ZetaSQL Team <[email protected]>:
Prevent measure propagation through OUTER JOINs in ArrayScans.
--
Change by ZetaSQL Team <[email protected]>:
Ensure correct error message when signature does not match for REGEXP_EXTRACT_GROUPS
--
Change by ZetaSQL Team <[email protected]>:
Prevent measure propagation through OUTER JOINs in ArrayScans.
--
Change by ZetaSQL Team <[email protected]>:
Add documentation for CREATE PROCEDURE statement.
--
Change by ZetaSQL Team <[email protected]>:
No public description
--
Change by ZetaSQL Team <[email protected]>:
Update reference implementation to support LIMIT ALL/LIMIT <null>
--
Change by ZetaSQL Team <[email protected]>:
Add differential privacy report and tablesample analyzer test files to ZetaSQL allowlist.
--
Change by ZetaSQL Team <[email protected]>:
Move default language features to top of differential privacy analyzer test file.
--
Change by ZetaSQL Team <[email protected]>:
Update ResolvedAST docs
--
Change by ZetaSQL Team <[email protected]>:
Move Analyzer tests for differential privacy queries using ARRAY into a dedicated file.
--
Change by ZetaSQL Team <[email protected]>:
Split OPTIONS clause-focused Analyzer DIFFERENTIAL_PRIVACY tests into their own file.
--
Change by ZetaSQL Team <[email protected]>:
Move Analyzer tests for differential privacy with FROM clause subqueries into dedicated file.
--
Change by Jeff Shute <[email protected]>:
Add resolved AST markers for ResolvedColumn creation vs references.
--
Change by Christoph Dibak <[email protected]>:
Add compliance test for nested queries
--
Change by Christoph Dibak <[email protected]>:
Allow dp queries as public group joins
--
Change by ZetaSQL Team <[email protected]>:
Documentation for REGEXP_EXTRACT_GROUPS
--
Change by Brandon Dolphin <[email protected]>:
Set moderate timeout for .../analyzer:analyzer_test.
--
Change by ZetaSQL Team <[email protected]>:
Refactor quantified path algebrizer test and minor fix its algebrizer
--
Change by ZetaSQL Team <[email protected]>:
Allow custom array size limit in GenerateArrayHelper
--
Change by ZetaSQL Team <[email protected]>:
Move Analyzer tests for differential privacy report format into dedicated file.
--
Change by ZetaSQL Team <[email protected]>:
Analyzer support for `UPDATE ... SET` statements for the JSON subscript operator.
--
Change by ZetaSQL Team <[email protected]>:
Clarify comment in 'AS pipe operator' example
--
Change by ZetaSQL Team <[email protected]>:
Update the script generating the AST docs to also generate the parser AST docs.
--
Change by ZetaSQL Team <[email protected]>:
mark FEATURE_MULTI_GROUPING_SETS not in development.
--
Change by ZetaSQL Team <[email protected]>:
Move analyzer tests for TABLESAMPLE support with DP queries into their own dedicated file.
--
Change by ZetaSQL Team <[email protected]>:
No public description
--
Change by ZetaSQL Team <[email protected]>:
Remove obsolete SELECT WITH DIFFERENTIAL_PRIVACY test.
--
Change by ZetaSQL Team <[email protected]>:
Documentation clarification about `ARRAY_AGG`.
--
Change by ZetaSQL Team <[email protected]>:
No public description
--
Change by ZetaSQL Team <[email protected]>:
update behaviors when FEATURE_GROUPING_SETS is not enabled while FEATURE_MULTI_GROUPING_SETS is enabled.
--
Change by Jeff Shute <[email protected]>:
Run pyformat on all of gen_resolved_ast.py.
--
Change by Divyanshu Ranjan <[email protected]>:
Add test where relational argument is passed to BuiltinTableValuedFunction::CreateCall
--
Change by ZetaSQL Team <[email protected]>:
Support required language features in TableValuedFunctionOptions.
--
Change by ZetaSQL Team <[email protected]>:
Refactor & Simplify the rule for braced_ctor_extension_expr to remove the %prec directive.
--
Change by ZetaSQL Team <[email protected]>:
Disallow TVFs from having both graph and scalar-only signatures.
--
Change by ZetaSQL Team <[email protected]>:
Support pseudo-columns in value tables passed into TVFs
--
Change by ZetaSQL Team <[email protected]>:
Only create column annotation for timestamp precision when the target type is also a timestamp
--
Change by Shannon Bales <[email protected]>:
No public description
--
Change by Divyanshu Ranjan <[email protected]>:
Change signature of `TableValuedFunction::CreateEvaluator` to remove const requirement on TvfEvaluatorArg.
--
Change by ZetaSQL Team <[email protected]>:
RQG support for generating WHERE filter in aggregate function calls.
--
Change by ZetaSQL Team <[email protected]>:
Updated the ReferenceDriver to support executing DDLs by default when not used as a reference.

GitOrigin-RevId: 5bd0300a28d6d86e224393b084a373f7e55862a8
Change-Id: Ifae8e9284316d42639bfb42736438a5c4b597ecd

2025.06.1

Toggle 2025.06.1's commit message
Export of internal ZetaSQL changes.

--
Change by Brandon Dolphin <[email protected]>:
Fix crash in differential privacy functions with report.
--
Change by ZetaSQL Team <[email protected]>:
Updated the resolved ast doc for the ZetaSQL release 2025.6.1
--
Change by ZetaSQL Team <[email protected]>:
Fix outdated documentation for the --rewrites flag
--
Change by ZetaSQL Team <[email protected]>:
No public description
--
Change by ZetaSQL Team <[email protected]>:
No public description
--
Change by ZetaSQL Team <[email protected]>:
No public description
--
Change by ZetaSQL Team <[email protected]>:
Fix a bug where SQLBuilder generated impl...
--
Change by ZetaSQL Team <[email protected]>:
Add warning comment about the dependency of the REWRITE_INLINE_SQL_FUNCTION rewrite on having AnalyzerOptions.column_id_sequence_number set.
--
Change by ZetaSQL Team <[email protected]>:
Fix a bug where SQLBuilder generated implicit aliases to function args for which the ResolvedAST specified had no alias.
--
Change by ZetaSQL Team <[email protected]>:
Support multiway_unnest rewrite with non-constant join_expr
--
Change by ZetaSQL Team <[email protected]>:
Implement `JsonFromTimestamp()` for TimestampPicosValue input.
--
Change by ZetaSQL Team <[email protected]>:
Refactor the very large function GetJSONFunctions() into smaller helper functions.
--
Change by ZetaSQL Team <[email protected]>:
split test cases to fix regression test in zetasql.
--
Change by ZetaSQL Team <[email protected]>:
No public description
--
Change by ZetaSQL Team <[email protected]>:
Account for collation making different strings compare as equals when computing IsUniquelyOrdered(), which is used to signal nondeterminism.
--
Change by ZetaSQL Team <[email protected]>:
Migrate ArrayAnnotationMap to StructAnnotationMap.
--
Change by ZetaSQL Team <[email protected]>:
Handle is_outer and join_expr in multiway_unnest_rewriter
--
Change by ZetaSQL Team <[email protected]>:
Fix error location for GROUP BY in graph queries
--
Change by ZetaSQL Team <[email protected]>:
Refactor `measure_expression` library.
--
Change by ZetaSQL Team <[email protected]>:
Refactor construction of tables with measures in the SampleCatalog.
--
Change by Shannon Bales <[email protected]>:
Simplify `graph_element_pattern_filler`. Provide a more detailed description of the grammar conflict at a slightly higher level. Add test cases for the second form of the grammar conflict including the true conflict.
--
Change by ZetaSQL Team <[email protected]>:
Add compliance tests with measure expressions containing subqueries.
--
Change by ZetaSQL Team <[email protected]>:
Support subqueries in measure expressions.
--
Change by Jeff Shute <[email protected]>:
No public description
--
Change by ZetaSQL Team <[email protected]>:
No public description
--
Change by ZetaSQL Team <[email protected]>:
No public description
--
Change by Shannon Bales <[email protected]>:
Fix the location of Graph return clause lists so that they do not include leading whitespace.
--
Change by Jeff Shute <[email protected]>:
Make the unversioned LanguageFeature enum names the primary name.
--
Change by ZetaSQL Team <[email protected]>:
Clarify how timestamps work with DST
--
Change by ZetaSQL Team <[email protected]>:
Fix bug with standalone expression resolution involving aggregate functions within subqueries.
--
Change by ZetaSQL Team <[email protected]>:
Move `ExtractTopLevelAggregates` to a separate library.
--
Change by ZetaSQL Team <[email protected]>:
Make the unversioned LanguageFeature enum names the primary name.
--
Change by ZetaSQL Team <[email protected]>:
Generalize annotation maps for composite types.
--
Change by ZetaSQL Team <[email protected]>:
Refactor several very large function-registration functions t...
--
Change by Jeff Shute <[email protected]>:
Make the unversioned LanguageFeature enum names the primary name.
--
Change by ZetaSQL Team <[email protected]>:
Moved syntax and operators tests out of bytes.test to literals.test and operators.test.
--
Change by ZetaSQL Team <[email protected]>:
Clarify that ANY_VALUE only ignores nulls if there are other values to return.
--
Change by ZetaSQL Team <[email protected]>:
No public description
--
Change by ZetaSQL Team <[email protected]>:
Moving SQL tests from the compliance directory to the appropriate file in either the parser or analyzer directory depending on the error type.
--
Change by ZetaSQL Team <[email protected]>:
Release graph dynamic labels and properties
--
Change by ZetaSQL Team <[email protected]>:
Fix HTML errors
--
Change by Shannon Bales <[email protected]>:
Remove `BisonParser` class step 8 of 8: Merge whats left of the "bison_parser" library into "parser_internal".
--
Change by Jeff Shute <[email protected]>:
Update compliance tests to use shortened feature names.
--
Change by Jeff Shute <[email protected]>:
Make LanguageFeature->string converter use the shorter aliases.
--
Change by Jeff Shute <[email protected]>:
No public description
--
Change by ZetaSQL Team <[email protected]>:
Unify SqlBuilder logic on CALL [PER()] tvf() to always use YIELD to properly alias output columns.
--
Change by ZetaSQL Team <[email protected]>:
Fix broken links.
--
Change by ZetaSQL Team <[email protected]>:
Refactor several very large function-registration functions that had huge (~20K) stack frames into families of smaller functions.
--
Change by ZetaSQL Team <[email protected]>:
No public description
--
Change by ZetaSQL Team <[email protected]>:
No public description
--
Change by ZetaSQL Team <[email protected]>:
No public description
--
Change by Shannon Bales <[email protected]>:
Remove `BisonParser` class step 7 or 8: Delete the `BisonParser` class and migrate its last two fields to the Textmapper generated `Parser` class.
--
Change by Jeff Shute <[email protected]>:
Update an error message to use the alias for a feature enum.
--
Change by Jeff Shute <[email protected]>:
Update analyzer code to use shortened feature names.
--
Change by Jeff Shute <[email protected]>:
Switch to unversioned enum names in all parser and analyzer tests.
--
Change by ZetaSQL Team <[email protected]>:
Refactor several very large function-registration functions that had huge (~20K) stack frames into families of smaller functions.
--
Change by ZetaSQL Team <[email protected]>:
add more descriptions in fuzzy search and tokenization docs
--
Change by ZetaSQL Team <[email protected]>:
Handle the deprecated timestamp_picos value in GetProtoFieldDefault().
--
Change by ZetaSQL Team <[email protected]>:
Remove inaccurate comments on measure value serialization.
--
Change by Jeff Shute <[email protected]>:
Add another test to make sure feature aliases are defined as expected.
--
Change by ZetaSQL Team <[email protected]>:
Algebrization support for measures.
--
Change by ZetaSQL Team <[email protected]>:
Add supporting logic for measure evaluation.
--
Change by ZetaSQL Team <[email protected]>:
Refactor UDA algebrization logic.
--
Change by Shannon Bales <[email protected]>:
Remove `BisonParser` class step 6 of 8: Move the `Parse` function out of the class to set it free!
--
Change by ZetaSQL Team <[email protected]>:
Add methods for accessing meaningful data from Measure values.
--
Change by Shannon Bales <[email protected]>:
Remove `BisonParser` class step 5 of 8: Pull 'input' out of the parser class.
--
Change by ZetaSQL Team <[email protected]>:
Introduce internal error fix proto
--
Change by ZetaSQL Team <[email protected]>:
No public description
--
Change by ZetaSQL Team <[email protected]>:
No public description
--
Change by ZetaSQL Team <[email protected]>:
No public description
--
Change by ZetaSQL Team <[email protected]>:
Fix a bug in SqlBuilder when referencing DML target columns through correlated references in GQL CALL () variable scope list.
--
Change by Jeff Shute <[email protected]>:
Add versionless aliases and more attributes on LanguageFeatures.
--
Change by ZetaSQL Team <[email protected]>:
No public description
--
Change by ZetaSQL Team <[email protected]>:
No public description
--
Change by ZetaSQL Team <[email protected]>:
No public description
--
Change by ZetaSQL Team <[email protected]>:
No public description
--
Change by ZetaSQL Team <[email protected]>:
No public description
--
Change by ZetaSQL Team <[email protected]>:
No public description
--
Change by ZetaSQL Team <[email protected]>:
No public description
--
Change by ZetaSQL Team <[email protected]>:
No public description
--
Change by Shannon Bales <[email protected]>:
Remove `BisonParser` class step 4 of 8: Move ownership of `ParserRuntimeInfo` to the caller.
--
Change by ZetaSQL Team <[email protected]>:
No public description
--
Change by ZetaSQL Team <[email protected]>:
Support creating a TIMESTAMP literal with precision annotation
--
Change by ZetaSQL Team <[email protected]>:
Remove stale comment
--
Change by Shannon Bales <[email protected]>:
Remove `BisonParser` class step 3 or 8: Factor `ASTNodeFactory` out of `BisonParser`.
--
Change by ZetaSQL Team <[email protected]>:
Reference implementation for analytic functions in MATCH_RECOGNIZE's DEFINE clause.
--
Change by Shannon Bales <[email protected]>:
Cleanup prefix parsing by Textmapper's [native support](https://textmapper.org/documentation.html#prefix-parsing) and removing SetForceTerminate.
  (And 384 more changes)

GitOrigin-RevId: 5e0ac4fd0c37dea5775d52ed12039f0c52e6fb72
Change-Id: I2d6853cd548f38cae1853d5121a13746156d6851

2025.03.1

Toggle 2025.03.1's commit message
Export of internal ZetaSQL changes.

--
Change by ZetaSQL Team <[email protected]>:
No public description
--
Change by ZetaSQL Team <[email protected]>:
Add another signature for `CastFormatTimestampToString(PicoTime)` that takes an `absl::TimeZone` parameter.
--
Change by ZetaSQL Team <[email protected]>:
Remove in_development for feature_tokenized_search.
--
Change by Nevena Kotlaja <[email protected]>:
No public description
--
Change by ZetaSQL Team <[email protected]>:
Trivial changes to Graph docs produced by running `generate-all-docs.sh`
--
Change by ZetaSQL Team <[email protected]>:
Rewrite CTEs in reverse order in DP / Aggregation threshold queries
--
Change by Christoph Dibak <[email protected]>:
get group selection epsilon from FunctionEpsilonAssigner
--
Change by Ilya Biryukov <[email protected]>:
Remove a source file from the filegroup that contains only headers
--
Change by ZetaSQL Team <[email protected]>:
No public description
--
Change by ZetaSQL Team <[email protected]>:
Create constant_utils and move constant detection helpers in
--
Change by ZetaSQL Team <[email protected]>:
Removed deprecated `AnalyzerOptions::Data::lookup_expression_column_callback`.
--
Change by ZetaSQL Team <[email protected]>:
Update resolved AST doc.
--
Change by Brandon Dolphin <[email protected]>:
Add mechanism in FunctionSignatureRewriteOptions to control validations for catalog lookups of builtins.
--
Change by ZetaSQL Team <[email protected]>:
Step 1 of updating pico representation in ValueProto, to be consistent with the approved design.
--
Change by ZetaSQL Team <[email protected]>:
Implement cast picotime to string with format string, i.e. YYYY-MM-DD style formatting.
--
Change by ZetaSQL Team <[email protected]>:
Don't manually generate copy of non-constructor arg.
--
Change by Brandon Dolphin <[email protected]>:
Remove in_development=true from FEATURE_DISABLE_VALIDATE_REWRITERS_REFER_TO_BUILTINS.
--
Change by ZetaSQL Team <[email protected]>:
Update graph query examples in reference guide
--
Change by ZetaSQL Team <[email protected]>:
Add IsAnalysisConst utility function
--
Change by Brandon Dolphin <[email protected]>:
Prevent map function rewriter from resolving non-builtin catalog objects.
--
Change by Brandon Dolphin <[email protected]>:
Clean up override to provide filtered catalog to TypeofFunctionRewriter.
--
Change by Brandon Dolphin <[email protected]>:
Filter catalog before calling builtin rewriters.
--
Change by Brandon Dolphin <[email protected]>:
No public description
--
Change by Christoph Dibak <[email protected]>:
Fix zero remaining epsilon
--
Change by ZetaSQL Team <[email protected]>:
Mark `FEATURE_V_1_4_MULTILEVEL_AGGREGATION_IN_UDAS` as no longer in_development
--
Change by ZetaSQL Team <[email protected]>:
Make ComputeOp preserve order if its input does.
--
Change by ZetaSQL Team <[email protected]>:
Add more analyzer tests for SQL UDFs, UDAs, and TVFs with multi level aggregates that use the inlining rewriters
--
Change by ZetaSQL Team <[email protected]>:
Removed redudant capture of this since Algebrizer::AlgebrizeUdaCall() is now static.
--
Change by ZetaSQL Team <[email protected]>:
Cleanup some includes and BUILD files.
--
Change by ZetaSQL Team <[email protected]>:
Removed `in_development` annotation from `FEATURE_V_1_4_PIPE_RECURSIVE_UNION`.
--
Change by ZetaSQL Team <[email protected]>:
Avoid deep copying of non-constructor fields twice.
--
Change by ZetaSQL Team <[email protected]>:
Clarify the behavior of %G and %g format elements, and ISO with non-ISO.
--
Change by ZetaSQL Team <[email protected]>:
Implemented the SQLBuilder support for pipe recursive union.
--
Change by ZetaSQL Team <[email protected]>:
No public description
--
Change by ZetaSQL Team <[email protected]>:
No public description
--
Change by ZetaSQL Team <[email protected]>:
No public description
--
Change by ZetaSQL Team <[email protected]>:
Fix up comments on recursive query related resolved AST nodes to include pipe RECURSIVE UNION as one of the forms.
--
Change by ZetaSQL Team <[email protected]>:
Support CREATE LOCALITY GROUP in parser
--
Change by ZetaSQL Team <[email protected]>:
Update Nullabel/Groupable Data Type Behavior for GRAPH_ELEMENT/GRAPH_PATH
--
Change by Brandon Dolphin <[email protected]>:
Add Bazel dependency for cc_rules, load cc_test from there.
--
Change by ZetaSQL Team <[email protected]>:
No public description
--
Change by ZetaSQL Team <[email protected]>:
Fix error message on RETURN/WITH DISTINCT for unsupported type
--
Change by ZetaSQL Team <[email protected]>:
Update sample queries.
--
Change by ZetaSQL Team <[email protected]>:
Marks the WINDOW pipe operator as deprecated; EXTEND is to be used instead.
--
Change by ZetaSQL Team <[email protected]>:
Add JSON_CONTAINS function.
--
Change by ZetaSQL Team <[email protected]>:
Fix regex matcher in runtime_expected_errors.cc for RQG.
--
Change by Jeff Shute <[email protected]>:
Mark pipe WINDOW operator as deprecated
--
Change by ZetaSQL Team <[email protected]>:
Refactor ProcessQuery() to return a unique_ptr instead of a raw pointer.
--
Change by Brandon Dolphin <[email protected]>:
Implement BuiltinOnlyCatalog for use in analyzer when only builtin objects should be referenced.
--
Change by ZetaSQL Team <[email protected]>:
Cleanup some includes and BUILD files.
--
Change by Jeff Shute <[email protected]>:
Compliance test for window functions and named windows in pipe operators.
--
Change by ZetaSQL Team <[email protected]>:
Enable macro expansion support in execute_query tool
--
Change by ZetaSQL Team <[email protected]>:
Enable prune_unused_columns in execute_query.
--
Change by Jeff Shute <[email protected]>:
Add a couple compliance tests for pipe WITH.
--
Change by Jeff Shute <[email protected]>:
Implement pipe WITH.
--
Change by Brandon Dolphin <[email protected]>:
Remove `in_development` for feature_tokenized_search.
--
Change by Jeff Shute <[email protected]>:
Implemented named windows support in pipe SELECT and EXTEND.
--
Change by ZetaSQL Team <[email protected]>:
Simplify the serialization code.
--
Change by ZetaSQL Team <[email protected]>:
Remove `in_development` for feature_tokenized_search.
--
Change by ZetaSQL Team <[email protected]>:
Support CTEs in SQL TVF bodies in the direct implementation.
--
Change by ZetaSQL Team <[email protected]>:
Direct implementation for SQL TVFs in the ref impl.
--
Change by ZetaSQL Team <[email protected]>:
Simplify the serialization code.
--
Change by ZetaSQL Team <[email protected]>:
Automated Code Change
--
Change by Brandon Dolphin <[email protected]>:
Correct FEATURE_DISABLE_VALIDATE_REWRITERS_REFER_TO_BUILTINS to be an unversioned feature.
--
Change by ZetaSQL Team <[email protected]>:
Refactor ResolvedInsertStmt in SQLBuilder to use ProcessQuery.
--
Change by ZetaSQL Team <[email protected]>:
DCHECK TypeFactory::AddDependency() if `other_type` is null
--
Change by ZetaSQL Team <[email protected]>:
Respect the new line characters in the file when fixing multiline comments.
--
Change by ZetaSQL Team <[email protected]>:
Add compliance test support for TVFs.
--
Change by Brandon Dolphin <[email protected]>:
Cleanup the BUILD for analyzer.
--
Change by ZetaSQL Team <[email protected]>:
Improve an error message for mismatched value table
--
Change by Brandon Dolphin <[email protected]>:
Add FEATURE_V_1_4_DISABLE_VALIDATE_REWRITERS_REFER_TO_BUILTINS.
--
Change by ZetaSQL Team <[email protected]>:
Fixed a compilation warning
--
Change by ZetaSQL Team <[email protected]>:
No public description
--
Change by ZetaSQL Team <[email protected]>:
No public description
--
Change by ZetaSQL Team <[email protected]>:
No public description
--
Change by ZetaSQL Team <[email protected]>:
Ignore `FEATURE_TABLE_SYNTAX_RESOLVE_ARGUMENT_LAST` when resolving TVFs from modules.
  (And 585 more changes)

GitOrigin-RevId: 58df110fb4601855918511d30ea3edb727ef879e
Change-Id: Ib86b420f11c0015d8105e9fc0ea0bd535fd4e560

2024.11.1

Toggle 2024.11.1's commit message
Export of internal ZetaSQL changes.

--
Change by ZetaSQL Team <[email protected]>:
Update the resolved ast doc for ZetaSQL.
--
Change by Brandon Dolphin <[email protected]>:
Refactor out shared AddMeasureColumnsToTable function for working with measure columns.
--
Change by Christoph Dibak <[email protected]>:
Implement per-aggregation budgeting in the reference impl
--
Change by Nevena Kotlaja <[email protected]>:
No public description
--
Change by Nevena Kotlaja <[email protected]>:
No public description
--
Change by ZetaSQL Team <[email protected]>:
Implement method TimestampPicoValue::FromString().
--
Change by ZetaSQL Team <[email protected]>:
Fix standalone expression evaluation for multi-level aggregates.
--
Change by ZetaSQL Team <[email protected]>:
Add documentation for graph query syntax
--
Change by ZetaSQL Team <[email protected]>:
Fix a bug where information from `ExprResolutionInfo` is not propagated correctly up to parent `ExprResolutionInfos` for multi-level aggregation.
--
Change by ZetaSQL Team <[email protected]>:
Add SQL rewriter and missing analyzer tests for map_contains_key.
--
Change by Brandon Dolphin <[email protected]>:
Add deserialization for MeasureType.
--
Change by ZetaSQL Team <[email protected]>:
Add the parser implementation for pipe recursive union.
--
Change by ZetaSQL Team <[email protected]>:
Refactor ResolveMatchRecognize() into smaller methods.
--
Change by ZetaSQL Team <[email protected]>:
Add a RET_CHECK to ensure that PIVOT expressions in the reference implementation are not multi-level aggregations.
--
Change by ZetaSQL Team <[email protected]>:
Ensure that volatile grouping expressions are not considered grouping consts.
--
Change by ZetaSQL Team <[email protected]>:
Rename ResolvedMatchRecognizeEmptyPattern to ResolvedMatchRecognizePatternEmpty to have a consistent prefix with other nodes.
--
Change by Brandon Dolphin <[email protected]>:
Remove documented requirement for FEATURE_V_1_4_MULTILEVEL_AGGREGATION when analyzing measure expressions.
--
Change by ZetaSQL Team <[email protected]>:
Add more compliance tests for multi-level aggregation.
--
Change by ZetaSQL Team <[email protected]>:
Move the OPTIONS() list to the end of the MATCH_RECOGNIZE() syntax.
--
Change by ZetaSQL Team <[email protected]>:
Add a new option to AnalyzerOptions and ErrorMessageOptions to enable an enhanced form of error redaction which preserves some information about the error, while keeping the output stable.
--
Change by ZetaSQL Team <[email protected]>:
Coerce the predicate expression in MATCH_RECOGNIZE's DEFINE clause to BOOL before giving an error.
--
Change by ZetaSQL Team <[email protected]>:
Update the resolved ast documentation for the ZetaSQL release in Q4 2024.
--
Change by ZetaSQL Team <[email protected]>:
Add set operators to pipe syntax: UNION, INTERSECT, EXCEPT, CORRESPONDING
--
Change by Yassin Ezbakhe <[email protected]>:
`MatcherCollection`: Add `AddMatcher` method.
--
Change by Jeff Shute <[email protected]>:
Implement experimental terminal pipe operator for EXPORT DATA.
--
Change by Brandon Dolphin <[email protected]>:
Fix casing in table name extraction for `TABLE x` and `FROM x` referring to TVF args.
--
Change by ZetaSQL Team <[email protected]>:
Support pattern variable references in MATCH_RECOGNIZE's measures clause.
--
Change by ZetaSQL Team <[email protected]>:
Add SQL rewriter for map_get function.
--
Change by Brandon Dolphin <[email protected]>:
Update error message in JSON literal test.
--
Change by ZetaSQL Team <[email protected]>:
small changes
--
Change by ZetaSQL Team <[email protected]>:
Update COUNT and COUNTIF documentation.
--
Change by Brandon Dolphin <[email protected]>:
Fix typo in measure_expression target names.
--
Change by Brandon Dolphin <[email protected]>:
Add Java implementation of MeasureType.
--
Change by ZetaSQL Team <[email protected]>:
Add support for graph queries
--
Change by ZetaSQL Team <[email protected]>:
No public description
--
Change by ZetaSQL Team <[email protected]>:
internal
--
Change by ZetaSQL Team <[email protected]>:
Add MATCH_RECOGNIZE compliance test covering the scenario where a DEFINE expression evaluates to NULL rather than TRUE or FALSE.
--
Change by ZetaSQL Team <[email protected]>:
Remove unimplemented optimization-related items from the pattern matching api:
--
Change by Brandon Dolphin <[email protected]>:
Implement MeasureType::TypeNameWithModifiers.
--
Change by Brandon Dolphin <[email protected]>:
Fix typo in sql_test_base.cc variable name.
--
Change by ZetaSQL Team <[email protected]>:
Add ZetaSketch to the list of external applications that can be used to build sketches.
--
Change by ZetaSQL Team <[email protected]>:
Add anonymization threshold to the AnonymizationInfo class
--
Change by ZetaSQL Team <[email protected]>:
No public description
--
Change by ZetaSQL Team <[email protected]>:
Fix struct construction syntax in examples of sparse vectors.
--
Change by Jeff Shute <[email protected]>:
Initial resolved AST and analyzer for pipe FORK.
--
Change by ZetaSQL Team <[email protected]>:
Internal fix.
--
Change by ZetaSQL Team <[email protected]>:
No public description
--
Change by ZetaSQL Team <[email protected]>:
Add INTERVAL to JSON encoding documentation.
--
Change by ZetaSQL Team <[email protected]>:
Internal changes.
--
Change by ZetaSQL Team <[email protected]>:
Validate composite measure.
--
Change by Brandon Dolphin <[email protected]>:
Add deprecation warning for `TABLE x` syntax cases which will be affected by resolution order change.
--
Change by ZetaSQL Team <[email protected]>:
Add SQL rewriter for MAP_CARDINALITY
--
Change by Brandon Dolphin <[email protected]>:
Add feature `FEATURE_TABLE_SYNTAX_RESOLVE_ARGUMENT_LAST` to preserve the old (incorrect) resolution order for `TABLE x` syntax in SQL TVF bodies.
--
Change by ZetaSQL Team <[email protected]>:
Analyzer support for ON CONFLICT clause in INSERT DML
--
Change by ZetaSQL Team <[email protected]>:
Fix a bug in the script executor where redeclaring a variable without type parameters in a session would cause an error
--
Change by Lev Kandel <[email protected]>:
Prepare code for breaking change in Protobuf C++ API.
Protobuf 6.30.0 will change the return types of Descriptor::name() and other methods to absl::string_view. This makes the code work both before and after such a change.
--
Change by ZetaSQL Team <[email protected]>:
Fix an incorrect comment.
--
Change by ZetaSQL Team <[email protected]>:
No public description
--
Change by ZetaSQL Team <[email protected]>:
Change complexity limit for state machine algo from 15,000 states to 100,000 edges, as it's the number of edges, not states, that really determines the time and space requirements of the algorithm. Also, moved the check from NFABuilder into NFA itself so that it gets enforced inside of EpsilonRemover, which, in the worst case, can drastically increase the number of edges, while simultaneously reducing the number of states.
--
Change by Jeff Shute <[email protected]>:
Add some support for referencing Constants with values.
--
Change by ZetaSQL Team <[email protected]>:
Unify the creation of multi_level_aggregate_info QRI for all the paths that create a default.
--
Change by John Fremlin <[email protected]>:
Add RowIdentityColumns function to catalog Table
--
Change by ZetaSQL Team <[email protected]>:
Remove references to Bison from comments in gen_parse_tree.py.
--
Change by ZetaSQL Team <[email protected]>:
Remove "Bison" from the names of some functions and variables in keywords.h.
--
Change by ZetaSQL Team <[email protected]>:
Enable SELECT .. FOR UPDATE for external use.
--
Change by ZetaSQL Team <[email protected]>:
Fix the order of parameters in the Regexp::Extract function.
--
Change by ZetaSQL Team <[email protected]>:
Add support for UINT64 arguments to `TIMESTAMP_FROM_UNIX_SECONDS`, `TIMESTAMP_FROM_UNIX_MILLIS`, and `TIMESTAMP_FROM_UNIX_MICROS`.
--
Change by ZetaSQL Team <[email protected]>:
No public description
--
Change by ZetaSQL Team <[email protected]>:
No public description
--
Change by ZetaSQL Team <[email protected]>:
Enable multi-level aggregation in RQG.
--
Change by ZetaSQL Team <[email protected]>:
Fix a bug with deferred resolution for multi-level aggregates.
--
Change by ZetaSQL Team <[email protected]>:
Fix some formatting issues with ST_EQUALS.
--
Change by ZetaSQL Team <[email protected]>:
Remove "pipe operator" from pipe operator table to economize.
--
Change by Laramie Leavitt <[email protected]>:
Avoid creating a new PRNG on each test loop.
--
Change by Jeff Shute <[email protected]>:
Parser implementation for experimental pipe FORK.
--
Change by ZetaSQL Team <[email protected]>:
Internal Change
  (And 482 more changes)

GitOrigin-RevId: 158e00ddbc5bb8b8ef75e6b6473daf4fcef6174a
Change-Id: I6520749d9676a3fce2e84a49f3e1dd6804390ab7

2024.08.2

Toggle 2024.08.2's commit message
Export of internal ZetaSQL changes.

--
Change by ZetaSQL Team <[email protected]>:
Updated the instructions for running execute_query with docker on MacOS with M1/M2 chips.
--
Change by ZetaSQL Team <[email protected]>:
Add a note about MacOS users seeing the error `execute_query_macos cannot be opened because the developer cannot be verified.`
--
Change by ZetaSQL Team <[email protected]>:
Refactoring in preparation for UPDATE constructor.
--
Change by ZetaSQL Team <[email protected]>:
Change the ZetaSQL Dockerfile to support different build modes.
--
Change by Jeff Shute <[email protected]>:
Add tests that check that a sql file runs successfully in execute_query.
--
Change by ZetaSQL Team <[email protected]>:
add a new TO_JSON signature that supports arg `unsupported_fiels`.
--
Change by Jeff Shute <[email protected]>:
Add some more example queries in examples/pipe_queries.
--
Change by Brandon Dolphin <[email protected]>:
Begin adding Measure type to TypeProto.
--
Change by ZetaSQL Team <[email protected]>:
Add per column OPTIONS and WITH COLUMN OPTIONS to analyzer.
--
Change by ZetaSQL Team <[email protected]>:
Handle lambda functions directly in the BuiltinFunctionRegistry scalar function APIs.
--
Change by ZetaSQL Team <[email protected]>:
Add per column OPTIONS and WITH COLUMN OPTIONS to analyzer.
--
Change by ZetaSQL Team <[email protected]>:
Add optional_ref library.
--
Change by John Fremlin <[email protected]>:
Add a testcase for deeply nested structs and arrays in JSON
--
Change by ZetaSQL Team <[email protected]>:
Update the ZetaSQL documentation:
--
Change by John Fremlin <[email protected]>:
Truncate output for deeply nested array expressions in unparser
--
Change by ZetaSQL Team <[email protected]>:
Update pipe syntax docs with TW peer review edits
--
Change by Jeff Shute <[email protected]>:
Fix execute_query command line help.
--
Change by ZetaSQL Team <[email protected]>:
add a new named arg `unsupported_fiels` for the TO_JSON function.
--
Change by John Fremlin <[email protected]>:
Truncate output for deeply nested CASE expressions in unparser
--
Change by ZetaSQL Team <[email protected]>:
Add MAP_REPLACE signatures, and reference implementation for KV pairs version
--
Change by ZetaSQL Team <[email protected]>:
Remove unnecessarily explicit function registrations from reference_impl/function.cc
--
Change by Jeff Shute <[email protected]>:
Adjust text area size so results are more visible.
--
Change by ZetaSQL Team <[email protected]>:
Disable formatting of SQL inside non-multiline string literals.
--
Change by ZetaSQL Team <[email protected]>:
Fixed issue with formatting SQL inside string literals when input string contains \r\n line endings.
--
Change by ZetaSQL Team <[email protected]>:
Format textproto inside annotated string literal.
--
Change by ZetaSQL Team <[email protected]>:
Disambiguate between open and close brackets annotations for braced constructor syntax.
--
Change by Jeff Shute <[email protected]>:
Improve multi-statement output in execute_query web.
--
Change by ZetaSQL Team <[email protected]>:
add a new named arg `unsupported_fiels` for the TO_JSON function.
--
Change by ZetaSQL Team <[email protected]>:
add a new built-in enum `UnsupportedFields` to be used by TO_JSON.
--
Change by ZetaSQL Team <[email protected]>:
Record parse location for OrderByItem iff record type is not PARSE_LOCATION_RECORD_NONE.
--
Change by ZetaSQL Team <[email protected]>:
Unify Lambda and non-lambda AlgebrizeFunctionCall codepaths
--
Change by ZetaSQL Team <[email protected]>:
small formatting updates for named arguments
--
Change by ZetaSQL Team <[email protected]>:
Fix the example Docker image name in the ZetaSQL doc.
--
Change by ZetaSQL Team <[email protected]>:
Refactor the parse AST and the grammar to use postfix table operators (e.g. TABLESAMPLE) on ASTTableExpression.
--
Change by ZetaSQL Team <[email protected]>:
Fix ZetaSQL documentation.

GitOrigin-RevId: a68e25b308dadf3e78c4d22ec41adf72f8b08e5b
Change-Id: I586b6974dbdb4e2bb4c99ba641ef96916ec33ba6

2024.08.1

Toggle 2024.08.1's commit message
Exported ZetaSQL changes.

- Added the support for [SQL pipe syntax](https://research.google/pubs/pub1005959/)
- Improved the `execute_query` with an interactive web UI and more functionality.
- Added new and improved SQL language features.
- Improved documentation.

GitOrigin-RevId: 88446a33c3a4498dab3f5cf2a1fe92c9f56d9723
Change-Id: Ia8ba13c3131dfc37b8ca9c60c9fd92752eac941d

2024.06.1

Toggle 2024.06.1's commit message
Export of internal ZetaSQL changes.

--
Change by ZetaSQL Team <[email protected]>:
Add "alwayslink=1" to the target compliance:sql_test_base.
--
Change by ZetaSQL Team <[email protected]>:
Docs for JSON_KEYS function.
--
Change by ZetaSQL Team <[email protected]>:
Clarify that INT64 is converted to a string in JavaScript
--
Change by ZetaSQL Team <[email protected]>:
No public description
--
Change by ZetaSQL Team <[email protected]>:
No public description
--
Change by ZetaSQL Team <[email protected]>:
CL to regenerate artifacts.
--
Change by ZetaSQL Team <[email protected]>:
Add MAP_VALUES_SORTED_BY_KEY function
--
Change by ZetaSQL Team <[email protected]>:
No public description
--
Change by ZetaSQL Team <[email protected]>:
No public description
--
Change by ZetaSQL Team <[email protected]>:
No public description
--
Change by ZetaSQL Team <[email protected]>:
Add map_keys_sorted, map_keys_unsorted, map_values_sorted, and map_values_unsorted functions.
--
Change by ZetaSQL Team <[email protected]>:
Update ZetaSQL docs

GitOrigin-RevId: d6002ecc05e21d26aef5686de0d2188ff622e244
Change-Id: Ifd9836e733968d7cf6ac4f17d94d3748cd6e95fe

2024.03.1

Toggle 2024.03.1's commit message
Export of internal ZetaSQL changes.

GitOrigin-RevId: 6c6fab8f816cac8828fc8201478c85043e19c106
Change-Id: I69dc4fd4dc7463425e0a9fec8ed61a1aa9b6c41b

2023.11.1

Toggle 2023.11.1's commit message
Export of internal ZetaSQL changes.

--
Change by ZetaSQL Team <[email protected]>:
No public description
--
Change by ZetaSQL Team <[email protected]>:
Added the sqlbuilder implementation for functions with argument aliases.
--
Change by ZetaSQL Team <[email protected]>:
Stores argument alias information in resolved ast by using `generic_argument_list` rather than `argument_list` if the function signature has aliased arguments.
--
Change by ZetaSQL Team <[email protected]>:
No public description
--
Change by ZetaSQL Team <[email protected]>:
No public description
--
Change by ZetaSQL Team <[email protected]>:
Add MakeRangeFromValidatedInputs, similar to MakeStructFromValidatedInputs for performance-sensitive cases
--
Change by ZetaSQL Team <[email protected]>:
Fix the generation_expression syntax, the current syntax requires () after AS.
--
Change by ZetaSQL Team <[email protected]>:
No public description
--
Change by ZetaSQL Team <[email protected]>:
No public description
--
Change by ZetaSQL Team <[email protected]>:
No public description
--
Change by ZetaSQL Team <[email protected]>:
No public description
--
Change by ZetaSQL Team <[email protected]>:
No public description
--
Change by ZetaSQL Team <[email protected]>:
No public description
--
Change by ZetaSQL Team <[email protected]>:
No public description
--
Change by ZetaSQL Team <[email protected]>:
No public description
--
Change by ZetaSQL Team <[email protected]>:
No public description
--
Change by ZetaSQL Team <[email protected]>:
No public description
--
Change by ZetaSQL Team <[email protected]>:
No public description
--
Change by ZetaSQL Team <[email protected]>:
No public description
--
Change by ZetaSQL Team <[email protected]>:
No public description
--
Change by ZetaSQL Team <[email protected]>:
No public description
--
Change by ZetaSQL Team <[email protected]>:
No public description
--
Change by ZetaSQL Team <[email protected]>:
Instead of relying on column id for order to create catalog columns to resolved columns map for the target table scan, ResolvePathExpressionAsTableScan now takes the map to be populated as a function argument.
--
Change by ZetaSQL Team <[email protected]>:
No public description
--
Change by ZetaSQL Team <[email protected]>:
No public description
--
Change by Christoph Dibak <[email protected]>:
No public description
--
Change by ZetaSQL Team <[email protected]>:
Multiway UNNEST test case refactoring
--
Change by ZetaSQL Team <[email protected]>:
No public description
--
Change by ZetaSQL Team <[email protected]>:
Make Textmapper the default parser, except when the opt-out flag is set.
--
Change by ZetaSQL Team <[email protected]>:
No public description
--
Change by ZetaSQL Team <[email protected]>:
Fix create table with struct field that requires type coercion.
--
Change by ZetaSQL Team <[email protected]>:
Added the compliance test cases for EXCEPT (ALL|DISTINCT) for INNER CORRESPONDING BY.
--
Change by ZetaSQL Team <[email protected]>:
No public description
--
Change by ZetaSQL Team <[email protected]>:
No public description
--
Change by ZetaSQL Team <[email protected]>:
No public description
--
Change by ZetaSQL Team <[email protected]>:
Lift the ErrorMessageOptions() refactor to error_helpers.h and update callers to MaybeUpdateErrorFromPayload()
--
Change by John Fremlin <[email protected]>:
No public description
--
Change by ZetaSQL Team <[email protected]>:
No public description
--
Change by ZetaSQL Team <[email protected]>:
Remove unnecessary check in ConvertInternalErrorLocationAndAdjustErrorString()
--
Change by ZetaSQL Team <[email protected]>:
No public description
--
Change by ZetaSQL Team <[email protected]>:
No public description
--
Change by Christoph Dibak <[email protected]>:
Allow LIMIT and TABLESAMPLE in public group joins
--
Change by ZetaSQL Team <[email protected]>:
No public description
--
Change by ZetaSQL Team <[email protected]>:
Mark `IeeeDivide()` and friends as `no_sanitize("float-divide-by-zero")`.
--
Change by ZetaSQL Team <[email protected]>:
No public description
--
Change by ZetaSQL Team <[email protected]>:
Introduce an opt-out flag for Textmapper, in preparation for making it the default primary parser.
--
Change by ZetaSQL Team <[email protected]>:
Remove dead code in AnonymizationRewriter.
--
Change by ZetaSQL Team <[email protected]>:
No public description
--
Change by ZetaSQL Team <[email protected]>:
Add a convenience overload to ConvertInternalErrorMessage() that accepts AnalyzerOptions.
--
Change by ZetaSQL Team <[email protected]>:
No public description
--
Change by ZetaSQL Team <[email protected]>:
No public description
--
Change by ZetaSQL Team <[email protected]>:
No public description
--
Change by ZetaSQL Team <[email protected]>:
Add compliance tests for IS [NOT] DISTINCT over RANGE types.
--
Change by ZetaSQL Team <[email protected]>:
No public description
--
Change by ZetaSQL Team <[email protected]>:
No public description
--
Change by ZetaSQL Team <[email protected]>:
No public description
--
Change by ZetaSQL Team <[email protected]>:
No public description
--
Change by ZetaSQL Team <[email protected]>:
No public description
--
Change by ZetaSQL Team <[email protected]>:
No public description
--
Change by ZetaSQL Team <[email protected]>:
Extend cosine and euclidean distance functions to work with float32 arrays.
--
Change by ZetaSQL Team <[email protected]>:
Handle value table results more consistently.
--
Change by ZetaSQL Team <[email protected]>:
No public description
--
Change by ZetaSQL Team <[email protected]>:
No public description
--
Change by ZetaSQL Team <[email protected]>:
No public description
--
Change by ZetaSQL Team <[email protected]>:
No public description
--
Change by ZetaSQL Team <[email protected]>:
No public description
--
Change by ZetaSQL Team <[email protected]>:
No public description
--
Change by ZetaSQL Team <[email protected]>:
No public description
--
Change by ZetaSQL Team <[email protected]>:
No public description
--
Change by ZetaSQL Team <[email protected]>:
No public description
--
Change by ZetaSQL Team <[email protected]>:
No public description
--
Change by ZetaSQL Team <[email protected]>:
No public description
--
Change by ZetaSQL Team <[email protected]>:
No public description
--
Change by ZetaSQL Team <[email protected]>:
Enable FEATURE_TEXTMAPPER_PARSER by default. Calling EnableMaximumFeatures() now sets TM as the parser.
--
Change by ZetaSQL Team <[email protected]>:
No public description
--
Change by ZetaSQL Team <[email protected]>:
No public description
--
Change by ZetaSQL Team <[email protected]>:
No public description
--
Change by ZetaSQL Team <[email protected]>:
Benchmark for EUCLIDEAN_DISTANCE implementation
--
Change by ZetaSQL Team <[email protected]>:
No public description
--
Change by ZetaSQL Team <[email protected]>:
Heap allocate several larger objects in FunctionResolver::ResolveTemplatedSQLFunctionCall to reduce stack space consumption.
--
Change by ZetaSQL Team <[email protected]>:
No public description
--
Change by ZetaSQL Team <[email protected]>:
No public description
--
Change by ZetaSQL Team <[email protected]>:
No public description
--
Change by ZetaSQL Team <[email protected]>:
Modify JSON functions to allow constant expressions for JSONPaths.
--
Change by ZetaSQL Team <[email protected]>:
Directly set child values instead of merging.
--
Change by ZetaSQL Team <[email protected]>:
No public description
--
Change by ZetaSQL Team <[email protected]>:
Modify JSON functions to allow constant expressions for JSONPaths.
--
Change by ZetaSQL Team <[email protected]>:
No public description
--
Change by ZetaSQL Team <[email protected]>:
No public description
--
Change by ZetaSQL Team <[email protected]>:
No public description
--
Change by ZetaSQL Team <[email protected]>:
No public description
--
Change by ZetaSQL Team <[email protected]>:
Improve a log line in the type factory.
  (And 23 more changes)

GitOrigin-RevId: d5b7efe5a5d7157472b259c9c595c5d2ebb6f410
Change-Id: I68e3d0af8010af8adef7082902b0e2b80abb5322

2023.10.1

Toggle 2023.10.1's commit message
Export of internal ZetaSQL changes.

--
Change by ZetaSQL Team <[email protected]>:
No public description
--
Change by ZetaSQL Team <[email protected]>:
Removed the `depth_limit_detector_test_cases_test` from zetasql.
--
Change by John Fremlin <[email protected]>:
Internal change

GitOrigin-RevId: e6d88e9515744687cd24e0c05460c1ee362c7f69
Change-Id: I056cb0c1a190714ff4e94715ec8ffe8dbb716013