Skip to content
This repository was archived by the owner on Apr 1, 2026. It is now read-only.

Commit cfa1c8e

Browse files
authored
chore: move bigquery/table.py to bigquery/_operations/table.py (#2423)
Thank you for opening a Pull Request! Before submitting your PR, there are a few things you can do to make sure it goes smoothly: - [ ] Make sure to open an issue as a [bug/issue](https://github.com/googleapis/python-bigquery-dataframes/issues/new/choose) before writing your code! That way we can discuss the change, evaluate designs, and agree on the general idea - [ ] Ensure the tests and linter pass - [ ] Code coverage does not decrease (if any source code was changed) - [ ] Appropriate docs were updated (if necessary) Fixes #<issue_number_goes_here> 🦕
1 parent 43b77bb commit cfa1c8e

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

bigframes/bigquery/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@
6060
from bigframes.bigquery._operations.search import create_vector_index, vector_search
6161
from bigframes.bigquery._operations.sql import sql_scalar
6262
from bigframes.bigquery._operations.struct import struct
63-
from bigframes.bigquery.table import create_external_table
63+
from bigframes.bigquery._operations.table import create_external_table
6464
from bigframes.core.logging import log_adapter
6565

6666
_functions = [

tests/unit/bigquery/test_table.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616

1717
import pytest
1818

19-
import bigframes.bigquery.table
19+
import bigframes.bigquery
2020
import bigframes.core.sql.table
2121
import bigframes.session
2222

@@ -80,9 +80,9 @@ def test_create_external_table_ddl_connection():
8080
assert sql == expected
8181

8282

83-
@mock.patch("bigframes.bigquery.table._get_table_metadata")
83+
@mock.patch("bigframes.bigquery._operations.table._get_table_metadata")
8484
def test_create_external_table(get_table_metadata_mock, mock_session):
85-
bigframes.bigquery.table.create_external_table(
85+
bigframes.bigquery.create_external_table(
8686
"my-project.my_dataset.my_table",
8787
columns={"col1": "INT64", "col2": "STRING"},
8888
options={"format": "CSV", "uris": ["gs://bucket/path*"]},

0 commit comments

Comments
 (0)