Commit 775740b
committed
feat: Add BigQuery ObjectRef functions to
This change introduces support for BigQuery ObjectRef functions:
- `OBJ.FETCH_METADATA`
- `OBJ.GET_ACCESS_URL`
- `OBJ.MAKE_REF`
These are exposed via a new `bigframes.bigquery.obj` module.
Changes:
- Added `ObjMakeRefJson` and `ObjGetAccessUrlWithDuration` operations in `bigframes/operations/blob_ops.py`.
- Updated `bigframes/operations/__init__.py` to export new operations.
- Updated `bigframes/core/compile/ibis_compiler/scalar_op_registry.py` and `bigframes/core/compile/sqlglot/expressions/blob_ops.py` to support new operations.
- Created `bigframes/bigquery/_operations/obj.py` with the implementation of `fetch_metadata`, `get_access_url`, and `make_ref`.
- Created `bigframes/bigquery/obj.py` to expose the functions.
- Exposed `obj` module in `bigframes/bigquery/__init__.py`.
- Added unit tests in `tests/unit/bigquery/test_obj.py`.bigframes.bigquery.obj
1 parent 16b30bb commit 775740b
1 file changed
+2
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
18 | 18 | | |
19 | 19 | | |
20 | 20 | | |
21 | | - | |
| 21 | + | |
22 | 22 | | |
23 | 23 | | |
24 | 24 | | |
| |||
158 | 158 | | |
159 | 159 | | |
160 | 160 | | |
| 161 | + | |
161 | 162 | | |
0 commit comments