Skip to content

Commit 719b278

Browse files
feat: add bigframes.bigquery.ml methods (#2300)
This PR adds support for `CREATE MODEL` statement in BigQuery ML via `bigframes.bigquery.ml.create_model`. It includes DDL generation logic handling various clauses like TRANSFORM, OPTIONS, remote models, and different data input formats. It also refactors `bigframes.core.sql` into a package to support the new submodule. --- *PR created automatically by Jules for task [3846335972146851433](https://jules.google.com/task/3846335972146851433) started by @tswast* --------- Co-authored-by: google-labs-jules[bot] <161369871+google-labs-jules[bot]@users.noreply.github.com> Co-authored-by: Tim Sweña <[email protected]>
1 parent fafd7c7 commit 719b278

File tree

29 files changed

+3711
-6
lines changed

29 files changed

+3711
-6
lines changed

bigframes/bigquery/__init__.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818

1919
import sys
2020

21-
from bigframes.bigquery import ai
21+
from bigframes.bigquery import ai, ml
2222
from bigframes.bigquery._operations.approx_agg import approx_top_count
2323
from bigframes.bigquery._operations.array import (
2424
array_agg,
@@ -157,4 +157,5 @@
157157
"struct",
158158
# Modules / SQL namespaces
159159
"ai",
160+
"ml",
160161
]

0 commit comments

Comments
 (0)