Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
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 502a092
Show file tree
Hide file tree
Showing 12 changed files with 1,282 additions and 15 deletions.
2 changes: 2 additions & 0 deletions google/cloud/bigquery/enums.py
Expand Up @@ -33,6 +33,7 @@
"DATETIME",
"GEOGRAPHY",
"NUMERIC",
"BIGNUMERIC",
)
)

Expand Down Expand Up @@ -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
Expand Down
2 changes: 2 additions & 0 deletions google/cloud/bigquery_v2/__init__.py
Expand Up @@ -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__ = (
Expand All @@ -41,4 +42,5 @@
"StandardSqlDataType",
"StandardSqlField",
"StandardSqlStructType",
"TableReference",
)
3 changes: 1 addition & 2 deletions google/cloud/bigquery_v2/proto/encryption_config.proto
@@ -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.
Expand All @@ -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";

Expand Down

0 comments on commit 502a092

Please sign in to comment.