+
Skip to content

Tags: imotai/zetasql

Tags

2021.09.1

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

ZetaSQL now requires gcc8+

--
Change by ZetaSQL Team <no-reply@google.com>:
Add collation support for COUNT(DISTINCT) in reference implementation.
--
Change by ZetaSQL Team <no-reply@google.com>:
Add collation support for $case_with_value function in reference implementation.
--
Change by ZetaSQL Team <no-reply@google.com>:
Fix zetaSQL analyzer tests that were broken by a missed include.
--
Change by ZetaSQL Team <no-reply@google.com>:
fix ALTER TABLE RENAME COLUMN error message while combining with other action
--
Change by ZetaSQL Team <no-reply@google.com>:
Refactoring function to fetch collation name from ResolvedCollation object.
--
Change by ZetaSQL Team <no-reply@google.com>:
Running IWYU and clean_builder on "types" project.
--
Change by ZetaSQL Team <no-reply@google.com>:
Rename FunctionArgumentTypeOptions::affects_function_collation
--
Change by ZetaSQL Team <no-reply@google.com>:
Fix internal error in SQLBuilder.
--
Change by ZetaSQL Team <no-reply@google.com>:
Add test case to prove HAVING clause could handle collation correctly
--
Change by ZetaSQL Team <no-reply@google.com>:
propagates collation through MakeResolvedCast in type casting case
--
Change by ZetaSQL Team <no-reply@google.com>:
Support anonymization userid column for TVFs returning value tables.
--
Change by ZetaSQL Team <no-reply@google.com>:
Remove deprecated and unused field `ResolvedCreateFunctionStmt::return_type`
--
Change by ZetaSQL Team <no-reply@google.com>:
Add a comment in all_rewriters that causes clang-format to bin-pack in a way that is less likely to cause line conflicts between changes.
--
Change by ZetaSQL Team <no-reply@google.com>:
Add collation support for STARTS_WITH/ENDS_WITH functions in reference implementation.
--
Change by ZetaSQL Team <no-reply@google.com>:
Adds a dedicated function to recursively print annotation values with a specific AnnotationSpec ID.
--
Change by ZetaSQL Team <no-reply@google.com>:
resolve collation for any aggregate function call with is_distinct==true
--
Change by ZetaSQL Team <no-reply@google.com>:
Add compliance tests for collation features with JOIN and HAVING.
--
Change by ZetaSQL Team <no-reply@google.com>:
change collation handling options on several built-in functions
--
Change by Matthew Brown <matthewbr@google.com>:
Add sql_mode to execute_query to allow evaluating sql expressions
--
Change by ZetaSQL Team <no-reply@google.com>:
Add test to prove that collation propagation works in qualify clause.
--
Change by ZetaSQL Team <no-reply@google.com>:
Adjust required features in `tablesample.test` so that compliance tests for regular `TABLESAMPLE` aren't gated on the stratified version.
--
Change by ZetaSQL Team <no-reply@google.com>:
Add more compliance tests for collation features with collation name being 'binary'.
--
Change by ZetaSQL Team <no-reply@google.com>:
Add deprecated annotation to some already deprecated functions. #cleanup
--
Change by ZetaSQL Team <no-reply@google.com>:
For CTAS, propagates collation from the select query output column list to column definition list.
--
Change by ZetaSQL Team <no-reply@google.com>:
generate ResolvedCast node when casting string collation into string without collation.
--
Change by ZetaSQL Team <no-reply@google.com>:
Set preserve_in_literal_remover field of second argument of COLLATE function. Also did a small cleanup for resolved_ast validator.
--
Change by ZetaSQL Team <no-reply@google.com>:
Convert one more `AddCastOrConvertLiteral` to `CoerceExprToType`.  In this case, we are incidentally moving the error message parser location.  Either location is reasonable. Before we were pointing at the `RETURNS` clause if the `CoercesTo` check failed but pointing at the function body if the literal conversion failed. Now we are pointing to the function body in both cases.
--
Change by Matthew Brown <matthewbr@google.com>:
Refactor replace_with_collation compliance tests; add explicit testing of 'und'
--
Change by ZetaSQL Team <no-reply@google.com>:
Change type and message for a few collation-related error. This would make known-error detection easier for random query tests.
--
Change by ZetaSQL Team <no-reply@google.com>:
Convert two more simple cases `AddCastOrConvertLiteral` to `CoerceExprToType`.
--
Change by ZetaSQL Team <no-reply@google.com>:
Cleanup. Resolve TODO by moving `SelectListColumn` classes from expr_resolution_helper.h to query_resolution_helper.h
--
Change by ZetaSQL Team <no-reply@google.com>:
Cleanup the construction of `SelectColumnState` to make it more like a class according to our syleguide.  Use unique_ptr to transfer ownership and include the mostly commonly initialized fields as constructor arguments.
--
Change by ZetaSQL Team <no-reply@google.com>:
Add a team policy that attaches or replaces a ParseLocation to a status when propagated using RETURN_IF_ERROR or ASSIGN_OR_RETURN. There is an existing macro `RETURN_SQL_ERROR_AT_IF_ERROR` that is similar. There are two differences. The new `LocationOverride` team policy only overrides the attached parse location. It doesn't also override the error code.  This makes it much less likely that its usage will cause accidental consumption of kInternal, kResourceExhausted, kUnimplemented and other error codes that the using code didn't expect to be handed.  The second difference is a bit more cosmetic, we use the TeamPolicy idiom instead of defining our own macro.
--
Change by ZetaSQL Team <no-reply@google.com>:
Add more tests related to `SELECT AS <prototype> <literal>`
--
Change by ZetaSQL Team <no-reply@google.com>:
[Bug Fix] Avoid algrebrizing Empty ResolvedCollation for KeyArg AggregateOp.
--
Change by ZetaSQL Team <no-reply@google.com>:
Support label in GetNextStatementProperties.
--
Change by ZetaSQL Team <no-reply@google.com>:
Migrate calls to `AddCastOrConvertLiteral` to the more idiomatic and less likely to use incorrectly `CoerceExprToType`. This is a yak-shaving cleanup that will hopefully reduce copy-paste bugs and makes existing code more readable.
--
Change by ZetaSQL Team <no-reply@google.com>:
Add some more interesting corner case tests regarding `LIMIT`
--
Change by ZetaSQL Team <no-reply@google.com>:
Add a `GetStatementProperties` test to verify correct behavior for struct variable assignment.
--
Change by ZetaSQL Team <no-reply@google.com>:
Fix implementation of TO_JSON_STRING for JSON inputs when pretty_print is true.
--
Change by ZetaSQL Team <no-reply@google.com>:
Refactor `CoerceExprToType` to be a bit more convenient and a bit more readable.
Change the boolean argument that controls coercion mode into an enum. The enum will allow more modes and makes callsites more readable.
Remove the overload taking `char* clause_name` and replace it with two overloads, one taking a complete error message template (for custom error message without a lambda) and another with no error message parameter to return the generic template (the equivalent of providing a nullptr to `cluase_name` before).
--
Change by ZetaSQL Team <no-reply@google.com>:
Add collation support for STRPOS/INSTR functions in reference implementation.
--
Change by ZetaSQL Team <no-reply@google.com>:
Support several missed statement types in GetNextStatementProperties.
--
Change by ZetaSQL Team <no-reply@google.com>:
Update structure of signatures for aggregate functions.
--
Change by ZetaSQL Team <no-reply@google.com>:
Reference impl for ARRAY_INCLUDES functions.
--
Change by ZetaSQL Team <no-reply@google.com>:
Add a test to show behavior for window spec with literal `>=2^63`
--
Change by ZetaSQL Team <no-reply@google.com>:
Add no-op case in `FunctionResolver::AddCastOrConvertLiteral` and simplify callsites that previously checked for unequal types.
--
Change by ZetaSQL Team <no-reply@google.com>:
Bugfix. Do not override `has_explicit_type` in `ConvertLiteralToType` unless `set_has_explicit_type` is true.
--
Change by ZetaSQL Team <no-reply@google.com>:
Update error message when an INTERVAL literal contains an expression that is neither INT64 or string literal.
--

  (And 276 more changes)

GitOrigin-RevId: 25c5bf17ad00c8b8f341b2cf15da3d94ec95b796
Change-Id: I8128bb928a617c1256ae766d129a311891588fa7

2021.03.2

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

Add support for read-modify-write of java ResolvedAST (see RewritingVisitorTest.java for examples)
Add support for TO_JSON_STRING.

--
Change by ZetaSQL Team <no-reply@google.com>:
Pass correct language options to Validator in PreparedQuery api when validating a resolved tree passed to the PreparedQuery constructor.
--
Change by ZetaSQL Team <no-reply@google.com>:
Remove in_development tag from FEATURE_BIGNUMERIC_TYPE.
--
Change by ZetaSQL Team <no-reply@google.com>:
Increase the number of operations per benchmark loop in value_test
--
Change by ZetaSQL Team <no-reply@google.com>:
Update zetasql documentation to include BIGNUMERIC support.
--
Change by ZetaSQL Team <no-reply@google.com>:
Remove unused lexer rules.
--
Change by ZetaSQL Team <no-reply@google.com>:
Analyzer changes for QUALIFY clause
--
Change by ZetaSQL Team <no-reply@google.com>:
Fix DEFAULT column syntax error messages.
--
Change by ZetaSQL Team <no-reply@google.com>:
Make a clarification about the promotion of NULLs in GREATEST/LEAST
--
Change by ZetaSQL Team <no-reply@google.com>:
Fix bug with MODIFY_MAP rewriter - NULL first arg should be NULL output
--
Change by ZetaSQL Team <no-reply@google.com>:
Fix bug in handling array offsets with FLATTEN.
--
Change by ZetaSQL Team <no-reply@google.com>:
execute_query: Add JSON and Textproto output modes
--
Change by Matthew Brown <matthewbr@google.com>:
Fix name and contract for DescriptorPool.getAllFileDescriptors to be ordered
--
Change by ZetaSQL Team <no-reply@google.com>:
remove expected error for contains_key
--
Change by ZetaSQL Team <no-reply@google.com>:
Undeprecate presence tests in proto3.
--
Change by ZetaSQL Team <no-reply@google.com>:
INTERNAL
--
Change by ZetaSQL Team <no-reply@google.com>:
execute_query: Move "ExecuteQuery" overload into test code
--
Change by ZetaSQL Team <no-reply@google.com>:
execute_query: Retrieve examination callback only once
--
Change by ZetaSQL Team <no-reply@google.com>:
execute_query: Add writers for Textproto and JSON formats
--
Change by Matthew Brown <matthewbr@google.com>:
local_service: Use a more explicit for serializing DescriptorPools
--
Change by ZetaSQL Team <no-reply@google.com>:
Support parameterized types in MERGE INSERT
--
Change by ZetaSQL Team <no-reply@google.com>:
Add utilities to generate protobuf messages from iterator
--
Change by ZetaSQL Team <no-reply@google.com>:
Fix resolver logic for PIVOT to handle the case where columns in the pivot input have multiple aliases, but only some of them are referenced.
--
Change by ZetaSQL Team <no-reply@google.com>:
Remove deprecated AddCastOrConvertLiteral function
--
Change by Matthew Brown <matthewbr@google.com>:
Remove Serializable from DescriptorPool.sub interfaces
--
Change by ZetaSQL Team <no-reply@google.com>:
Add explicit CAST node to struct fields with type parameters
--
Change by ZetaSQL Team <no-reply@google.com>:
Change the visibility of cast_date_time.
--
Change by ZetaSQL Team <no-reply@google.com>:
Use separate control flow nodes for starting a FOR loop and advancing a FOR loop.
--
Change by ZetaSQL Team <no-reply@google.com>:
Fix the AST locations for TVF arguments. If it refers to an expression, just pass the location of the expression to the downstream. Otherwise it would prevent literal casting for struct fields.
--
Change by ZetaSQL Team <no-reply@google.com>:
Use null handling behavior enum in reference impl instead of hard-coded list of functions that respect nulls.
--
Change by ZetaSQL Team <no-reply@google.com>:
Modify TypeParameters:MatchType()
--
Change by ZetaSQL Team <no-reply@google.com>:
Automatically FLATTEN for IN UNNEST.
--
Change by ZetaSQL Team <no-reply@google.com>:
Native PIVOT implementation in reference impl, which doesn't have limitations on types of aggregate functions supported imposed by the rewriter.
--
Change by ZetaSQL Team <no-reply@google.com>:
Split long logging statements to multiple lines.
--
Change by ZetaSQL Team <no-reply@google.com>:
Add flag to analyze_query to control rewrites.
--
Change by ZetaSQL Team <no-reply@google.com>:
RQG for ARRAY_FILTER and ARRAY_TRANSFORM.
--
Change by ZetaSQL Team <no-reply@google.com>:
execute_query: Add option to gracefully handle statement prompt errors
--
Change by ZetaSQL Team <no-reply@google.com>:
Add string escaping in test_function.cc.
  (And 84 more changes)

GitOrigin-RevId: de685b7ab6095676abb23b49ff0dfc3e51eb09d5
Change-Id: Ib21e0f71bdb8ee07c8d65d122f8663b321e60078

2021.03.1

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

Add support for read-modify-write of java ResolvedAST (see RewritingVisitorTest.java for examples)
Add support for TO_JSON_STRING.

--
Change by ZetaSQL Team <no-reply@google.com>:
Pass correct language options to Validator in PreparedQuery api when validating a resolved tree passed to the PreparedQuery constructor.
--
Change by ZetaSQL Team <no-reply@google.com>:
Remove in_development tag from FEATURE_BIGNUMERIC_TYPE.
--
Change by ZetaSQL Team <no-reply@google.com>:
Increase the number of operations per benchmark loop in value_test
--
Change by ZetaSQL Team <no-reply@google.com>:
Update zetasql documentation to include BIGNUMERIC support.
--
Change by ZetaSQL Team <no-reply@google.com>:
Remove unused lexer rules.
--
Change by ZetaSQL Team <no-reply@google.com>:
Analyzer changes for QUALIFY clause
--
Change by ZetaSQL Team <no-reply@google.com>:
Fix DEFAULT column syntax error messages.
--
Change by ZetaSQL Team <no-reply@google.com>:
Make a clarification about the promotion of NULLs in GREATEST/LEAST
--
Change by ZetaSQL Team <no-reply@google.com>:
Fix bug with MODIFY_MAP rewriter - NULL first arg should be NULL output
--
Change by ZetaSQL Team <no-reply@google.com>:
Fix bug in handling array offsets with FLATTEN.
--
Change by ZetaSQL Team <no-reply@google.com>:
execute_query: Add JSON and Textproto output modes
--
Change by Matthew Brown <matthewbr@google.com>:
Fix name and contract for DescriptorPool.getAllFileDescriptors to be ordered
--
Change by ZetaSQL Team <no-reply@google.com>:
remove expected error for contains_key
--
Change by ZetaSQL Team <no-reply@google.com>:
Undeprecate presence tests in proto3.
--
Change by ZetaSQL Team <no-reply@google.com>:
INTERNAL
--
Change by ZetaSQL Team <no-reply@google.com>:
execute_query: Move "ExecuteQuery" overload into test code
--
Change by ZetaSQL Team <no-reply@google.com>:
execute_query: Retrieve examination callback only once
--
Change by ZetaSQL Team <no-reply@google.com>:
execute_query: Add writers for Textproto and JSON formats
--
Change by Matthew Brown <matthewbr@google.com>:
local_service: Use a more explicit for serializing DescriptorPools
--
Change by ZetaSQL Team <no-reply@google.com>:
Support parameterized types in MERGE INSERT
--
Change by ZetaSQL Team <no-reply@google.com>:
Add utilities to generate protobuf messages from iterator
--
Change by ZetaSQL Team <no-reply@google.com>:
Fix resolver logic for PIVOT to handle the case where columns in the pivot input have multiple aliases, but only some of them are referenced.
--
Change by ZetaSQL Team <no-reply@google.com>:
Remove deprecated AddCastOrConvertLiteral function
--
Change by Matthew Brown <matthewbr@google.com>:
Remove Serializable from DescriptorPool.sub interfaces
--
Change by ZetaSQL Team <no-reply@google.com>:
Add explicit CAST node to struct fields with type parameters
--
Change by ZetaSQL Team <no-reply@google.com>:
Change the visibility of cast_date_time.
--
Change by ZetaSQL Team <no-reply@google.com>:
Use separate control flow nodes for starting a FOR loop and advancing a FOR loop.
--
Change by ZetaSQL Team <no-reply@google.com>:
Fix the AST locations for TVF arguments. If it refers to an expression, just pass the location of the expression to the downstream. Otherwise it would prevent literal casting for struct fields.
--
Change by ZetaSQL Team <no-reply@google.com>:
Use null handling behavior enum in reference impl instead of hard-coded list of functions that respect nulls.
--
Change by ZetaSQL Team <no-reply@google.com>:
Modify TypeParameters:MatchType()
--
Change by ZetaSQL Team <no-reply@google.com>:
Automatically FLATTEN for IN UNNEST.
--
Change by ZetaSQL Team <no-reply@google.com>:
Native PIVOT implementation in reference impl, which doesn't have limitations on types of aggregate functions supported imposed by the rewriter.
--
Change by ZetaSQL Team <no-reply@google.com>:
Split long logging statements to multiple lines.
--
Change by ZetaSQL Team <no-reply@google.com>:
Add flag to analyze_query to control rewrites.
--
Change by ZetaSQL Team <no-reply@google.com>:
RQG for ARRAY_FILTER and ARRAY_TRANSFORM.
--
Change by ZetaSQL Team <no-reply@google.com>:
execute_query: Add option to gracefully handle statement prompt errors
--
Change by ZetaSQL Team <no-reply@google.com>:
Add string escaping in test_function.cc.
  (And 84 more changes)

GitOrigin-RevId: de685b7ab6095676abb23b49ff0dfc3e51eb09d5
Change-Id: Ib21e0f71bdb8ee07c8d65d122f8663b321e60078

2021.02.1

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

--
Change by ZetaSQL Team <no-reply@google.com>:
Adds SetToEmptyArray and SetToEmptyObject to the JSONValueRef interface.
--
Change by ZetaSQL Team <no-reply@google.com>:
Fix a bug in function_signature_matcher when handling proto map args.
--
Change by ZetaSQL Team <no-reply@google.com>:
Add test to the sql parser.
--
Change by ZetaSQL Team <no-reply@google.com>:
Fix PIVOT to handle optional clauses in the aggregate function calls.
--
Change by Matthew Brown <matthewbr@google.com>:
Fix PARSE_TIMESTAMP (and friends) %r/%l/%I/%OI on Mac
--
Change by ZetaSQL Team <no-reply@google.com>:
Replace compacttrie with generaltrie in parsing format elements to facilitate opensource.
--
Change by ZetaSQL Team <no-reply@google.com>:
Return an error for nonexistent tables for DROP CONSTRAINT when IF EXISTS is omitted.
--
Change by ZetaSQL Team <no-reply@google.com>:
Add a rewriter for CONTAINS_KEY.
--
Change by Matthew Brown <matthewbr@google.com>:
fix some invalid uses of const std::string& in parse_tree.cc
--
Change by ZetaSQL Team <no-reply@google.com>:
Map function rewriter bugfixes.
--
Change by ZetaSQL Team <no-reply@google.com>:
Mark fields as @nullable in schema forwarding TVF.
--
Change by ZetaSQL Team <no-reply@google.com>:
Add documentation for implicit coercion from DATE to DATETIME.
--
Change by Matthew Brown <matthewbr@google.com>:
add tests to AnalyzerTest for SimpleTables and sub catalogs
--
Change by ZetaSQL Team <no-reply@google.com>:
Resolver changes to prepare pivot scans for the rewriter:
--
Change by Matthew Brown <matthewbr@google.com>:
Support --mode=parse in execute_query
--
Change by ZetaSQL Team <no-reply@google.com>:
fixed SQL Builder to generate correct SQL when the referred struct's field has no name.
--
Change by benyu <benyu@google.com>:
ResolvedAST and analyzer change for CREATE VIEW v(columns...).
--
Change by ZetaSQL Team <no-reply@google.com>:
Add a rewriter for MODIFY_MAP.
--
Change by ZetaSQL Team <no-reply@google.com>:
Fix typo (fuction -> function)
--
Change by ZetaSQL Team <no-reply@google.com>:
Add MODIFY_MAP to analyzer.
--
Change by ZetaSQL Team <no-reply@google.com>:
Remove rewriter registration. Depend directly on rewriters.
--
Change by ZetaSQL Team <no-reply@google.com>:
Make CollectColumnRefs and CorrelateColumnRefs work with lambda.
--
Change by ZetaSQL Team <no-reply@google.com>:
Finish resolver support for PIVOT by supporting automatically-generated column names for literal pivot values.
--
Change by ZetaSQL Team <no-reply@google.com>:
Move some options-related functions to analyzer_options.h.
--
Change by ZetaSQL Team <no-reply@google.com>:
Check language option for QUALIFY in parser code.
--
Change by ZetaSQL Team <no-reply@google.com>:
Add flag for each ResolvedLiteral node, indicating whether it should be preserved by the literal remover.
--
Change by ZetaSQL Team <no-reply@google.com>:
Wrap compliance tests with unvalidated JSON with language feature
--
Change by ZetaSQL Team <no-reply@google.com>:
Implement TypeParameters java class
--
Change by ZetaSQL Team <no-reply@google.com>:
SQLBuilder support for PIVOT clause.
--
Change by ZetaSQL Team <no-reply@google.com>:
Add Name() method to the Rewriter class.
--
Change by ZetaSQL Team <no-reply@google.com>:
Fix bug in setting output column names of pivot expression for groupby columns.
--
Change by ZetaSQL Team <no-reply@google.com>:
execute_query: Use ExecuteAfterPrepare
--
Change by benyu <benyu@google.com>:
Add parser for CLONE DATA INTO.
--
Change by ZetaSQL Team <no-reply@google.com>:
Reduce debug log level.
--
Change by ZetaSQL Team <no-reply@google.com>:
Inner implementation of the UNPIVOT clause.
--
Change by ZetaSQL Team <no-reply@google.com>:
Add an option to limit max nesting levels during parsing of JSON values.
--
Change by ZetaSQL Team <no-reply@google.com>:
Rewriting for ARRAY_FILTER and ARRAY_TRANSFORM.
--
Change by ZetaSQL Team <no-reply@google.com>:
execute_query: Add utility for building interactive shells
--
Change by ZetaSQL Team <no-reply@google.com>:
Update error logging
--
Change by ZetaSQL Team <no-reply@google.com>:
Add support for Bool/Bytes/Float literals as type parameters
--
Change by ZetaSQL Team <no-reply@google.com>:
Add support for array index accesses along flattened expression paths.
--
Change by ZetaSQL Team <no-reply@google.com>:
Add Bool/Float/Bytes support to SimpleValue
--
Change by ZetaSQL Team <no-reply@google.com>:
Internal change
  (And 14 more changes)

GitOrigin-RevId: bce8178316e53362c5e7b4052882c4c56ddf5ad6
Change-Id: I47e1f7c440d8795d4de09a50d0c742e2e7e6c471

2020.10.1

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

--
Change by Andrew Pilloud <apilloud@google.com>:
ZetaSQL: Fix build on OS X
GitOrigin-RevId: ea19a166b1e049a05458189ff85a3da86d1243ee
Change-Id: I5709ab8a85d52c2afebd4ee5e65ccced20472280

2020.09.01

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

  - Add extractTableNamesFromScript to java by Matthew Brown <matthewbr@google.com>
  - Add RENAME TO action to ALTER TABLE. by ZetaSQL Team <no-reply@google.com>
  - Update lambda argument list error msg. by ZetaSQL Team <no-reply@google.com>
  - Add basic lambda support to FunctionArgumentType. by ZetaSQL Team <no-reply@google.com>
  - Avoid crashing for recursive protos in HasSubfieldWithFor... by ZetaSQL Team <no-reply@google.com>
  - Add basic lambda support to FunctionArgumentType. by ZetaSQL Team <no-reply@google.com>
  - REGEXP_INSTR, Code the reference implementation and add c... by ZetaSQL Team <no-reply@google.com>
  - Disable has_ for map entries. by ZetaSQL Team <no-reply@google.com>
  - local_service stores AnalyzerOptions by Andrew Pilloud <apilloud@google.com>
  - Rename ASTLambda::parameter_list to argument_list by ZetaSQL Team <no-reply@google.com>
  - Add an ASTDdlStatement class. by ZetaSQL Team <no-reply@google.com>
  - Add function(s) ProtoType::HasSubfieldWithFormat() to che... by ZetaSQL Team <no-reply@google.com>
  - Extract CollectTemplatedArguments For simple types for ea... by ZetaSQL Team <no-reply@google.com>
  - Add OCTET_LENGTH alias for BYTE_LENGTH by ZetaSQL Team <no-reply@google.com>
  - Fix the explanation of the cumulative sum example. by ZetaSQL Team <no-reply@google.com>
  - Fixes to compliance tests and reference implementation fo... by ZetaSQL Team <no-reply@google.com>
  - Fix the confusing error message: by ZetaSQL Team <no-reply@google.com>
  - Add GEOGRAPHY and JSON data types to unsupported argument... by ZetaSQL Team <no-reply@google.com>
  - Avoid divide by zero with doubles. by ZetaSQL Team <no-reply@google.com>
  - Fix an integer overflow in ROUND and TRUNC implementation... by ZetaSQL Team <no-reply@google.com>
  - Adds link to type definitions with min/max ranges. by ZetaSQL Team <no-reply@google.com>
  - Support converting an encoded decimal value with arbitrar... by ZetaSQL Team <no-reply@google.com>
  - Fix scripting tests to use the PreparedModify api for DML... by ZetaSQL Team <no-reply@google.com>

GitOrigin-RevId: 279bd4c52068b423117f3e745ba70ecfaf2bacb8
Change-Id: Idcbdcb215c324929ac95d90abe80a564d4a33da4

2020.07.01

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

  - ZetaSQL: Support for FORMAT in ZetaSQL by Matthew Brown <matthewbr@google.com>
  - Support DATE +/- INT64 operator in ZetaSQL, reference imp... by ZetaSQL Team <no-reply@google.com>
  - Support EXP, LN for NumericValue. by ZetaSQL Team <no-reply@google.com>
  - Support BIGNUMERIC signatures for PERCENTILE_CONT and PER... by ZetaSQL Team <no-reply@google.com>
  - Add reference impl support for FLATTEN and UNNEST through... by ZetaSQL Team <no-reply@google.com>

  - CHR, Code the reference implementation and add compliance... by ZetaSQL Team <no-reply@google.com>
  - Consolidate `DATETIME`, `TIME` and `TIMESTAMP` function d... by ZetaSQL Team <no-reply@google.com>
  - Let PercentileEvaluator support BIGNUMERIC type. by ZetaSQL Team <no-reply@google.com>
  - Fix a bug in RegExp::Replace that fails to handle empty s... by ZetaSQL Team <no-reply@google.com>
  - Roll forward the analyzer portion of the proto map access... by ZetaSQL Team <no-reply@google.com>
  - Replace BigNumericValue::ScalingFactor() with BigNumericV... by ZetaSQL Team <no-reply@google.com>
  - Replace "BigNumeric" with "BIGNUMERIC" in error messages. by ZetaSQL Team <no-reply@google.com>
  - Move LoopOp to immediately after UnionAllOp in operator.h... by ZetaSQL Team <no-reply@google.com>
  - Fix LoopOp's DebugString output: by ZetaSQL Team <no-reply@google.com>
  - Add signatures and reference implementation for construct... by ZetaSQL Team <no-reply@google.com>
  - Visual cue that the code in the example is bad (produces ... by ZetaSQL Team <no-reply@google.com>
  - Reuse BIGNUMERIC POW implementation for NUMERIC POW. This... by ZetaSQL Team <no-reply@google.com>
  - Add explicit zetasql/base:no_destructor target by Matthew Brown <matthewbr@google.com>
  - Tolerate invalid utf-8 in parse_location when computing b... by Matthew Brown <matthewbr@google.com>
  - Add map key access builtin functions and resolve them app... by ZetaSQL Team <no-reply@google.com>
  - Include struct field names in query output by ZetaSQL Team <no-reply@google.com>
  - Fix handling of recursive WITH entries which declare an i... by ZetaSQL Team <no-reply@google.com>
  - Improve performance of BigNumericValue's Ln algorithm by ... by ZetaSQL Team <no-reply@google.com>
  - For BigNumericValue, encapsulate double-scaled arithmetic... by ZetaSQL Team <no-reply@google.com>
  - Unicode, Code the reference implementation and add compli... by ZetaSQL Team <no-reply@google.com>
  - Adds reference implementation and compliance testing for ... by ZetaSQL Team <no-reply@google.com>
  - expose TVF function signature in Java API (c++ has alread... by ZetaSQL Team <no-reply@google.com>
  - Allow function namespace in SQL functions (including UDF,... by ZetaSQL Team <no-reply@google.com>
  - Implement implicit coercion between DATE and DATETIME. Ad... by ZetaSQL Team <no-reply@google.com>
  - Disallow recursive references as the outer operand of a J... by ZetaSQL Team <no-reply@google.com>
  - Consolidate BigNumericValue random generators. by ZetaSQL Team <no-reply@google.com>
  - Internal change by ZetaSQL Team <no-reply@google.com>
  - Disallow usage of ORDER BY and TABLESAMPLE on a recursive... by ZetaSQL Team <no-reply@google.com>
  - Disallow analytic scans and LIMIT clauses against a recur... by ZetaSQL Team <no-reply@google.com>
  - Adjust some error thresholds in BigNumericValue tests and... by ZetaSQL Team <no-reply@google.com>
  - Make the types of internal exp and ln functions in BigNum... by ZetaSQL Team <no-reply@google.com>
  - Reduce trivial test case count in TEST_F(BigNumericValueT... by ZetaSQL Team <no-reply@google.com>

GitOrigin-RevId: cd42b0d2d974de9b5440ec6ca1471e827571a136
Change-Id: I09a08535ef6663456a9442cef8ea128a02454528

2020.06.1

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

  - Introducing with_partition_clause clause in the parser. T... by ZetaSQL Team <no-reply@google.com>
  - Stop showing "floating point" in NUMERIC error messages. by ZetaSQL Team <no-reply@google.com>
  - Add SUBSTRING as alias of SUBSTR by ZetaSQL Team <no-reply@google.com>
  - Modify TRANSLATE error message for duplicate byte. by ZetaSQL Team <no-reply@google.com>
  - fix ZetaSQL build break by Matthew Brown <matthewbr@google.com>
  - Fixes TRANSLATE error message for duplicate characters. by ZetaSQL Team <no-reply@google.com>
  - Internal Change, it looks like.  How do I confirm whether... by ZetaSQL Team <no-reply@google.com>
  - Change case for NUMERIC/DECIMAL in error messages for con... by ZetaSQL Team <no-reply@google.com>
  - fix documentation on CREATE VIEW by ZetaSQL Team <no-reply@google.com>
  - Update bazel-common for pom bug fix by Andrew Pilloud <apilloud@google.com>
  - Parser support and tests for DECIMAL/BIGDECIMAL aliases by ZetaSQL Team <no-reply@google.com>
  - Implement explicit casting between JSON and STRING. by ZetaSQL Team <no-reply@google.com>
  - Add IWYU pragma to indicate exported private headers. by ZetaSQL Team <no-reply@google.com>
  - Java Analyzer.extractTableNamesFromStatement should optio... by Andrew Pilloud <apilloud@google.com>
  - Support NUMERIC signatures for PERCENTILE_CONT and PERCEN... by ZetaSQL Team <no-reply@google.com>
  - SQLBuilder support for actually-recursive views. by ZetaSQL Team <no-reply@google.com>
  - ASCII, Code the reference implementation and add complian... by ZetaSQL Team <no-reply@google.com>
  - Tests and fixes for mandatory-named arguments. by ZetaSQL Team <no-reply@google.com>
  - Fix reference to internal google library in initcap which... by ZetaSQL Team <no-reply@google.com>
  - Modify Regexp_Extract to add additional optional paramete... by ZetaSQL Team <no-reply@google.com>
  - Resolving an issue for dropping external table. Currently... by ZetaSQL Team <no-reply@google.com>
  - Remove deprecated methods Type::IsSimpleTypeName and Type... by ZetaSQL Team <no-reply@google.com>
  - Fix ZetaSQL build break caused by LSC by Matthew Brown <matthewbr@google.com>
  - Use std::move() on std::function arguments in FunctionOpt... by ZetaSQL Team <no-reply@google.com>
  - ASCII, Code the reference implementation and add complian... by ZetaSQL Team <no-reply@google.com>
  - Introducing "COLUMNS" as a non reserved keyword. "COLUMNS... by ZetaSQL Team <no-reply@google.com>
  - ASCII, Code the reference implementation and add complian... by ZetaSQL Team <no-reply@google.com>
  - Disallow references to a recursive table when used as inp... by ZetaSQL Team <no-reply@google.com>
  - Add SUBSTRING as alias of SUBSTR by ZetaSQL Team <no-reply@google.com>
  - Let PercentileEvaluator support NUMERIC type. Also change... by ZetaSQL Team <no-reply@google.com>
  - Add Parser support for JSON literals by ZetaSQL Team <no-reply@google.com>
  - Allow hyphens in external table names. by ZetaSQL Team <no-reply@google.com>
  - Correct header comments for UpdateError() by ZetaSQL Team <no-reply@google.com>
  - Resolver support for views which are actually recursive. by ZetaSQL Team <no-reply@google.com>
  - Add deadline support for PreparedExpression. Also overloa... by ZetaSQL Team <no-reply@google.com>
  - Fix typo by Matthew Brown <matthewbr@google.com>
  - Fix ZetaSQL build break by Matthew Brown <matthewbr@google.com>
  - Add a check to verify that a recursive reference cannot h... by ZetaSQL Team <no-reply@google.com>
  - Fix ZetaSQL build break by Matthew Brown <matthewbr@google.com>
  - Implement casting for STRUCT(K, V)->PROTO for map entry p... by ZetaSQL Team <no-reply@google.com>
  - Add ProtoType map_key and map_value. by ZetaSQL Team <no-reply@google.com>
  - Add support for FLATTEN function. by ZetaSQL Team <no-reply@google.com>
  - Detect if views using the RECURSIVE keyword are actually ... by ZetaSQL Team <no-reply@google.com>
  - Add new SignatureArgumentKinds ARG_PROTO_MAP_ANY, _KEY, a... by ZetaSQL Team <no-reply@google.com>
  - SQLBuilder support for WITH RECURSIVE. by ZetaSQL Team <no-reply@google.com>
  - For x86_64, compute the exponents to use for TRUNC/ROUND ... by ZetaSQL Team <no-reply@google.com>
  - Refactor AnalyzeWithDependenciesVisitor to prepare for re... by ZetaSQL Team <no-reply@google.com>
  (And 18 more changes)

GitOrigin-RevId: a7c4b8e01a8547a5af1875c7f7aee67051d4ce77
Change-Id: Iafea8c4570ea99d65d74b4e67febd0816c9cba3f

2020.04.1

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

BREAKING CHANGE: fully adopt absl::Status (zetasql_base::Status no longer exists)

  - adding a TVF implementation that appends extra columns to... by ZetaSQL Team <no-reply@google.com>
  - Reference implementation of MAX/MIN functions for BIGNUME... by ZetaSQL Team <no-reply@google.com>
  - Add SumAggregator MergeWith and Serialize for BigNumericV... by ZetaSQL Team <no-reply@google.com>
  - Support conversion between proto and value for BIGNUMERIC. by ZetaSQL Team <no-reply@google.com>
  - Replace BigNumericValue with BigNumeric in an error messa... by ZetaSQL Team <no-reply@google.com>
  - Add GetAverage for BigNumericValue SumAggregator by ZetaSQL Team <no-reply@google.com>
  - To JSON support for BigNumeric by ZetaSQL Team <no-reply@google.com>

GitOrigin-RevId: dd8fb1559d96b9c3f7eea2c214e1c6f47ac8c93c
Change-Id: Iecfe18b21650e4c3e656156360cb1ea73bf14cd1

2020.03.2

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

  - Adopt absl::Status in ZetaSQL by Matthew Brown <matthewbr@google.com>
  - MacOS support for Java by Andrew Pilloud <apilloud@google.com>
  - Add SumAggregator Add and GetSum for BigNumericValue by ZetaSQL Team <no-reply@google.com>
  - Implement most of SimpleTimeTravelTable class, an impleme... by ZetaSQL Team <no-reply@google.com>
  - Remove extra indentation in proto_util.cc. by ZetaSQL Team <no-reply@google.com>
  - Internal changes by Matthew Brown <matthewbr@google.com>
  - Internal changes by ZetaSQL Team <no-reply@google.com>

GitOrigin-RevId: da94713bd016fbc33c0b2938ab16fa4e13ea2b41
Change-Id: Ieacb1987976a186e7415b785d69e1401052dcd04
点击 这是indexloc提供的php浏览器服务,不要输入任何密码和下载