Skip to content
Permalink
Browse files
feat: add support for listing arima, automl, boosted tree, DNN, and m…
…atrix factorization models (#328)

* changes without context

        autosynth cannot find the source of changes triggered by earlier changes in this
        repository, or by version upgrades to tools such as linters.

* chore: update proto definitions for bigquery/v2 to support BQML statistics

PiperOrigin-RevId: 337113354

Source-Author: Google APIs <noreply@google.com>
Source-Date: Wed Oct 14 10:04:20 2020 -0700
Source-Repo: googleapis/googleapis
Source-Sha: 215c12ade72d9d9616457d9b8b2f8a37f38e79f3
Source-Link: googleapis/googleapis@215c12a

* fix: manually revert `type` to `type_` breaking change

This should allow us to merge the fixes for `list_models` and avoid a breaking change until `proto-plus` becomes acceptable for our use.

* feat: add BIGNUMERIC to data type enums

Co-authored-by: Tim Swast <swast@google.com>
  • Loading branch information
yoshi-automation and tswast committed Oct 19, 2020
1 parent b0dd892 commit 502a0926018abf058cb84bd18043c25eba15a2cc
@@ -33,6 +33,7 @@
"DATETIME",
"GEOGRAPHY",
"NUMERIC",
"BIGNUMERIC",
)
)

@@ -81,6 +82,7 @@ class SqlTypeNames(str, enum.Enum):
FLOAT = "FLOAT"
FLOAT64 = "FLOAT"
NUMERIC = "NUMERIC"
BIGNUMERIC = "BIGNUMERIC"
BOOLEAN = "BOOLEAN"
BOOL = "BOOLEAN"
GEOGRAPHY = "GEOGRAPHY" # NOTE: not available in legacy types
@@ -27,6 +27,7 @@
from .types.standard_sql import StandardSqlDataType
from .types.standard_sql import StandardSqlField
from .types.standard_sql import StandardSqlStructType
from .types.table_reference import TableReference


__all__ = (
@@ -41,4 +42,5 @@
"StandardSqlDataType",
"StandardSqlField",
"StandardSqlStructType",
"TableReference",
)
@@ -1,4 +1,4 @@
// Copyright 2019 Google LLC.
// Copyright 2020 Google LLC
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
@@ -11,7 +11,6 @@
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
// See the License for the specific language governing permissions and
// limitations under the License.
//

syntax = "proto3";

Loading

0 comments on commit 502a092

Please sign in to comment.