Commit 92310e4
Export of internal ZetaSQL changes.
--
Change by ZetaSQL Team <no-reply@google.com>:
Extend `literal_remover` to use predefined literal names specified in different engines. No change to production with absence of `PredefinedLiteralReplacementMap`.
--
Change by ZetaSQL Team <no-reply@google.com>:
No public description
--
Change by Christoph Dibak <dibak@google.com>:
Allow nested differential_privacy queries in the rewriter
--
Change by Shannon Bales <nbales@google.com>:
Have the parser return errors through the return value and not through a side channel.
--
Change by ZetaSQL Team <no-reply@google.com>:
Update gen_parse_tree.py to `use_custom_debug_string` instead of defining `SingleNodeDebugString()` in `extra_public_defs`
--
Change by ZetaSQL Team <no-reply@google.com>:
Add tests for overloaded TVF signatures with repeated, optional, and named arguments.
--
Change by ZetaSQL Team <no-reply@google.com>:
Added a link from the Resolved AST documentation to the generated Parser AST docs
--
Change by Divyanshu Ranjan <divyanshur@google.com>:
Handle Builtin TVFs in the reference implementation algebrizer.
--
Change by Divyanshu Ranjan <divyanshur@google.com>:
Add `TableValuedFunctionCallExpr` (+ other relevant) class to represent Builtin TVF algebrized call.
--
Change by Shannon Bales <nbales@google.com>:
Add a non-runtime error test that casts INTERNAL -> INTERVAL
--
Change by ZetaSQL Team <no-reply@google.com>:
No public description
--
Change by ZetaSQL Team <no-reply@google.com>:
Analyzer changes for resolution of Table Valued Functions with multiple signatures.
--
Change by Brandon Dolphin <bdolphin@google.com>:
Update comment on LanguageVersion enum to remove expired tentative freeze date for VERSION_1_4.
--
Change by Evan Brown <ezb@google.com>:
No public description
--
Change by ZetaSQL Team <no-reply@google.com>:
Resurrect aggregate filtering support.
--
Change by ZetaSQL Team <no-reply@google.com>:
Remove a redundant and problematic ctor for ExprResolutionInfo, and make calls more explicit.
--
Change by ZetaSQL Team <no-reply@google.com>:
Add compliance tests for multi level aggregation on UDAs
--
Change by ZetaSQL Team <no-reply@google.com>:
Print the name of the offending type when failing for double insertion in the catalog.
--
Change by Brandon Dolphin <bdolphin@google.com>:
Consistently use `FLOAT32` name for float value.
--
Change by ZetaSQL Team <no-reply@google.com>:
Update resolver to support LIMIT ALL and LIMIT <null>
--
Change by ZetaSQL Team <no-reply@google.com>:
Don't pass nullptr into GetNonEmptyLocation marked notnull
--
Change by ZetaSQL Team <no-reply@google.com>:
Internal fixes
--
Change by ZetaSQL Team <no-reply@google.com>:
Internal
--
Change by ZetaSQL Team <no-reply@google.com>:
Consistently use `FLOAT32` name for float value.
--
Change by ZetaSQL Team <no-reply@google.com>:
Mark TemplatedSQLTVF::Resolve() as final to prevent subclasses from modifying its resolution behavior.
--
Change by Ivo Ristovski List <ilist@google.com>:
Automated Code Change
--
Change by ZetaSQL Team <no-reply@google.com>:
mark FEATURE_MULTI_GROUPING_SETS not in development.
--
Change by Divyanshu Ranjan <divyanshur@google.com>:
Move `TvfInputRelation` and `TVFOpArgument` out of `TVFOp`. Rename `TVFOpArgument` to `TvfAlgebraArgument`.
--
Change by ZetaSQL Team <no-reply@google.com>:
Added a Jinja template and BUILD rules to generated Markdown documentation for the Parse AST.
--
Change by ZetaSQL Team <no-reply@google.com>:
Updated the execute-query-tool to support multi-statements in kScript mode.
--
Change by ZetaSQL Team <no-reply@google.com>:
Extended `StatementEvaluatorImpl` to support multi-statements.
--
Change by ZetaSQL Team <no-reply@google.com>:
Added the multi-stmt support to the reference implementation and the corresponding compliance tests.
--
Change by ZetaSQL Team <no-reply@google.com>:
Remove in-development tag for WITH DEPTH modifier
--
Change by ZetaSQL Team <no-reply@google.com>:
mark FEATURE_MULTI_GROUPING_SETS not in development.
--
Change by ZetaSQL Team <no-reply@google.com>:
Change the default weight type of percentile functions to the percentile type.
--
Change by ZetaSQL Team <no-reply@google.com>:
Execute Query highight column ID on hover
--
Change by ZetaSQL Team <no-reply@google.com>:
No public description
--
Change by ZetaSQL Team <no-reply@google.com>:
No public description
--
Change by ZetaSQL Team <no-reply@google.com>:
No public description
--
Change by ZetaSQL Team <no-reply@google.com>:
Remove RET_CHECK from reference implementation that asserted that measure values are non-NULL.
--
Change by ZetaSQL Team <no-reply@google.com>:
Update parser to support LIMIT ALL
--
Change by ZetaSQL Team <no-reply@google.com>:
Mark SQLTableValuedFunction::Resolve() override as final, to prevent any modification of its behavior.
--
Change by ZetaSQL Team <no-reply@google.com>:
Ensure all annotations are blocked from TVFs, as they are not currently supported.
--
Change by ZetaSQL Team <no-reply@google.com>:
Ensure all annotations are blocked from TVFs, as they are not currently supported.
--
Change by ZetaSQL Team <no-reply@google.com>:
Corrected a typo in DISTINCT-pipe-operator.md
--
Change by ZetaSQL Team <no-reply@google.com>:
No public description
--
Change by ZetaSQL Team <no-reply@google.com>:
Internal changes
--
Change by ZetaSQL Team <no-reply@google.com>:
Optimize `ToIdentifierLiteral` by using a static `LanguageOptions`.
--
Change by ZetaSQL Team <no-reply@google.com>:
Change "current table" to "input table" in descriptions of SET and DROP pipe operators to match how we talk about tables in the other pipe operators.
--
Change by ZetaSQL Team <no-reply@google.com>:
Add parser test attempting to insert at a subscript.
--
Change by Divyanshu Ranjan <divyanshur@google.com>:
Use TableValuedFunction::FullName instead of TableValuedFunction::SQLName in SQLBuilder.
--
Change by ZetaSQL Team <no-reply@google.com>:
Allow GROUP BY modifiers on UDAs in the resolver
--
Change by ZetaSQL Team <no-reply@google.com>:
Remove deprecated `TableValuedFunction` and `FixedOutputSchemaTVF` constructor with AnonymizationInfo param and migrate usages to the constructor that accepts a `std::vector<FunctionSignature>`
--
Change by ZetaSQL Team <no-reply@google.com>:
No public description
--
Change by ZetaSQL Team <no-reply@google.com>:
Support ResolvedMakeStruct in TestIsSameExpressionForGroupBy
--
Change by ZetaSQL Team <no-reply@google.com>:
Add ADD_MONTHS rewriters
--
Change by ZetaSQL Team <no-reply@google.com>:
Fix broken anchor text in sql reference and BQML docs
--
Change by ZetaSQL Team <no-reply@google.com>:
Remove "SELECT_" in LB_WITH_IN_SELECT_WITH_OPTIONS and KW_OPTIONS_IN_SELECT_WITH_OPTIONS.
--
Change by ZetaSQL Team <no-reply@google.com>:
No public description
--
Change by ZetaSQL Team <no-reply@google.com>:
Tighten the computation for annotations when converting NULL to a type.
--
Change by ZetaSQL Team <no-reply@google.com>:
No public description
--
Change by ZetaSQL Team <no-reply@google.com>:
Always use FLOAT32/FLOAT64 in FORMAT functions for float literals.
--
Change by ZetaSQL Team <no-reply@google.com>:
[BQ TOC] Moves `GENERATE_RANGE_ARRAY` from Array functions to Range functions and adds `RANGE` to the Range functions section
--
Change by ZetaSQL Team <no-reply@google.com>:
Added DML support to execute-query.
--
Change by ZetaSQL Team <no-reply@google.com>:
Rework the measure rewriter to create a single STRUCT column per GrainScan.
--
Change by ZetaSQL Team <no-reply@google.com>:
Casting graph elements should not introduce new properties
--
Change by ZetaSQL Team <no-reply@google.com>:
consolidate SetDefinitionForInlining copies
--
Change by ZetaSQL Team <no-reply@google.com>:
No public description
--
Change by ZetaSQL Team <no-reply@google.com>:
No public description
--
Change by ZetaSQL Team <no-reply@google.com>:
No public description
--
Change by ZetaSQL Team <no-reply@google.com>:
Add differential_privacy.test to ZetaSQL allowlist.
--
Change by ZetaSQL Team <no-reply@google.com>:
Fix the contract of coercion and casting to properly check for annotation defaults after natural propagation. The coercer should never change the target annotation maps. It should be passed from callers as an immutable input so that its decision is not changing in-flight or have circular logic.
--
Change by ZetaSQL Team <no-reply@google.com>:
Change analyzer/testdata/match_recognize.test to use MAXIMUM features instead of NONE.
--
Change by ZetaSQL Team <no-reply@google.com>:
Added an option `use_test_database_copy` to allow DDL statements to be tested in compliance tests.
--
Change by ZetaSQL Team <no-reply@google.com>:
Mark test case with RAND() as known to fail for Spanner, and add a different UUID-based test case to replace it.
--
Change by ZetaSQL Team <no-reply@google.com>:
Java support for creating TVF with multiple signatures
--
Change by ZetaSQL Team <no-reply@google.com>:
No public description
--
Change by ZetaSQL Team <no-reply@google.com>:
Internal changes.
--
Change by ZetaSQL Team <no-reply@google.com>:
Add a signatures field to TableValuedFunctionProto in order to support multiple signatures
--
Change by ZetaSQL Team <no-reply@google.com>:
Strengthen the check in analsysis to ensure that the return type of regexp_extract_groups is not changed between the compute result type callback and the function resolution.
--
Change by ZetaSQL Team <no-reply@google.com>:
Fix GSQL reference implementation for `TIMESTAMP(string)` function.
--
Change by ZetaSQL Team <no-reply@google.com>:
Fix a bug in annotation propagation of array constructor.
--
Change by ZetaSQL Team <no-reply@google.com>:
Generalize the `ResolvedUpdateArrayItem` AST node to a generic subscript operation
--
Change by Jeff Shute <jshute@google.com>:
Internal change.
(And 500 more changes)
GitOrigin-RevId: 513300940d5c0610117869eee76587e3c6a44761
Change-Id: I06af48e23489d760adbdd028f6afaed3b28d65611 parent 74b504c commit 92310e4
992 files changed
Lines changed: 81358 additions & 26655 deletions
File tree
- bazel
- docs
- javatests/com/google/zetasql
- parser
- java/com/google/zetasql
- resolvedast
- zetasql
- analyzer
- rewriters
- privacy
- testdata
- base
- net
- testing
- common
- match_recognize
- search/public
- testing
- compliance
- testdata
- examples/tpch/catalog
- local_service
- parser
- macros
- testdata
- proto
- public
- annotation
- functions
- match_recognize
- proto
- testing
- types
- reference_impl
- functions
- resolved_ast
- scripting
- testdata
- testing
- tools/execute_query
- testdata
- web
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
36 | 36 | | |
37 | 37 | | |
38 | 38 | | |
| 39 | + | |
| 40 | + | |
39 | 41 | | |
40 | 42 | | |
41 | 43 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
37 | 37 | | |
38 | 38 | | |
39 | 39 | | |
40 | | - | |
41 | | - | |
42 | | - | |
43 | | - | |
44 | | - | |
45 | | - | |
46 | | - | |
47 | | - | |
48 | 40 | | |
49 | 41 | | |
50 | 42 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
61 | 61 | | |
62 | 62 | | |
63 | 63 | | |
| 64 | + | |
| 65 | + | |
64 | 66 | | |
65 | 67 | | |
66 | 68 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
22 | 22 | | |
23 | 23 | | |
24 | 24 | | |
25 | | - | |
26 | | - | |
27 | 25 | | |
28 | 26 | | |
29 | 27 | | |
30 | 28 | | |
31 | 29 | | |
32 | | - | |
33 | | - | |
34 | | - | |
35 | | - | |
36 | | - | |
37 | | - | |
38 | | - | |
39 | | - | |
40 | | - | |
41 | | - | |
42 | | - | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
43 | 39 | | |
44 | 40 | | |
45 | 41 | | |
| |||
52 | 48 | | |
53 | 49 | | |
54 | 50 | | |
55 | | - | |
56 | | - | |
| 51 | + | |
| 52 | + | |
57 | 53 | | |
58 | | - | |
| 54 | + | |
59 | 55 | | |
60 | 56 | | |
61 | 57 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
19 | 19 | | |
20 | 20 | | |
21 | 21 | | |
22 | | - | |
23 | 22 | | |
24 | 23 | | |
25 | 24 | | |
26 | 25 | | |
27 | 26 | | |
28 | 27 | | |
29 | 28 | | |
| 29 | + | |
| 30 | + | |
30 | 31 | | |
31 | 32 | | |
32 | | - | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
33 | 45 | | |
34 | 46 | | |
35 | 47 | | |
| |||
171 | 183 | | |
172 | 184 | | |
173 | 185 | | |
174 | | - | |
175 | | - | |
176 | | - | |
177 | | - | |
| 186 | + | |
| 187 | + | |
| 188 | + | |
| 189 | + | |
| 190 | + | |
| 191 | + | |
| 192 | + | |
| 193 | + | |
178 | 194 | | |
179 | 195 | | |
180 | | - | |
181 | | - | |
182 | | - | |
183 | | - | |
| 196 | + | |
| 197 | + | |
| 198 | + | |
| 199 | + | |
| 200 | + | |
| 201 | + | |
| 202 | + | |
| 203 | + | |
| 204 | + | |
| 205 | + | |
| 206 | + | |
| 207 | + | |
| 208 | + | |
184 | 209 | | |
185 | 210 | | |
186 | 211 | | |
| |||
393 | 418 | | |
394 | 419 | | |
395 | 420 | | |
396 | | - | |
| 421 | + | |
397 | 422 | | |
398 | 423 | | |
399 | 424 | | |
400 | | - | |
| 425 | + | |
401 | 426 | | |
402 | | - | |
403 | | - | |
| 427 | + | |
| 428 | + | |
404 | 429 | | |
405 | 430 | | |
406 | 431 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
16 | 16 | | |
17 | 17 | | |
18 | 18 | | |
19 | | - | |
20 | | - | |
21 | 19 | | |
22 | 20 | | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
23 | 24 | | |
24 | 25 | | |
25 | 26 | | |
| |||
30 | 31 | | |
31 | 32 | | |
32 | 33 | | |
| 34 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1101 | 1101 | | |
1102 | 1102 | | |
1103 | 1103 | | |
| 1104 | + | |
| 1105 | + | |
| 1106 | + | |
| 1107 | + | |
| 1108 | + | |
1104 | 1109 | | |
1105 | 1110 | | |
1106 | 1111 | | |
| |||
1283 | 1288 | | |
1284 | 1289 | | |
1285 | 1290 | | |
| 1291 | + | |
| 1292 | + | |
| 1293 | + | |
| 1294 | + | |
1286 | 1295 | | |
1287 | 1296 | | |
1288 | 1297 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
688 | 688 | | |
689 | 689 | | |
690 | 690 | | |
691 | | - | |
| 691 | + | |
692 | 692 | | |
693 | 693 | | |
694 | 694 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2845 | 2845 | | |
2846 | 2846 | | |
2847 | 2847 | | |
2848 | | - | |
| 2848 | + | |
2849 | 2849 | | |
2850 | 2850 | | |
2851 | 2851 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
35 | 35 | | |
36 | 36 | | |
37 | 37 | | |
38 | | - | |
| 38 | + | |
39 | 39 | | |
40 | 40 | | |
41 | 41 | | |
42 | 42 | | |
43 | 43 | | |
44 | 44 | | |
45 | 45 | | |
46 | | - | |
| 46 | + | |
47 | 47 | | |
48 | 48 | | |
49 | 49 | | |
| |||
52 | 52 | | |
53 | 53 | | |
54 | 54 | | |
55 | | - | |
| 55 | + | |
56 | 56 | | |
57 | 57 | | |
58 | 58 | | |
| |||
61 | 61 | | |
62 | 62 | | |
63 | 63 | | |
64 | | - | |
| 64 | + | |
65 | 65 | | |
66 | 66 | | |
67 | 67 | | |
| |||
371 | 371 | | |
372 | 372 | | |
373 | 373 | | |
| 374 | + | |
| 375 | + | |
| 376 | + | |
| 377 | + | |
| 378 | + | |
| 379 | + | |
| 380 | + | |
| 381 | + | |
374 | 382 | | |
375 | 383 | | |
0 commit comments