Title: feat: implement bigframes.bigquery.search function by google-labs-jules[bot] · Pull Request #2344 · googleapis/python-bigquery-dataframes · GitHub
Open Graph Title: feat: implement bigframes.bigquery.search function by google-labs-jules[bot] · Pull Request #2344 · googleapis/python-bigquery-dataframes
X Title: feat: implement bigframes.bigquery.search function by google-labs-jules[bot] · Pull Request #2344 · googleapis/python-bigquery-dataframes
Description: This change adds support for the BigQuery SEARCH function within BigFrames. The implementation introduces a new SearchOp operation and a corresponding user-facing search function in the bigframes.bigquery module. Key details: SearchOp: A new unary operation representing the SEARCH function call, supporting search_query, json_scope, analyzer, and analyzer_options parameters. Ibis Compiler: The operation is registered with the Ibis compiler in scalar_op_registry.py. A custom SqlScalar implementation is used to generate the correct SQL syntax for BigQuery's optional named arguments (e.g., json_scope=>'JSON_VALUES'), as standard Ibis built-in function registration only supports positional arguments. search Function: Exposed in bigframes.bigquery, this function accepts a Series or DataFrame and applies the search operation. DataFrames are automatically converted to structs before applying the operation, mirroring BigQuery's behavior. Testing: Unit tests verify that the search function correctly constructs the expression tree, ensuring the SearchOp is applied with the expected parameters. PR created automatically by Jules for task 18023861678525870072 started by @tswast
Open Graph Description: This change adds support for the BigQuery SEARCH function within BigFrames. The implementation introduces a new SearchOp operation and a corresponding user-facing search function in the bigframes.b...
X Description: This change adds support for the BigQuery SEARCH function within BigFrames. The implementation introduces a new SearchOp operation and a corresponding user-facing search function in the bigframes.b...
Opengraph URL: https://github.com/googleapis/python-bigquery-dataframes/pull/2344
X: @github
Domain: patch-diff.githubusercontent.com
| route-pattern | /:user_id/:repository/pull/:id/files(.:format) |
| route-controller | pull_requests |
| route-action | files |
| fetch-nonce | v2:1872183b-56e4-b88a-d4a6-cac9c6b0bba1 |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | B1E8:2C1011:894CAFB:B7BD15B:696E1F65 |
| html-safe-nonce | b8923fac1b72ae01c97a00eaba2a94c01268a3ab2bf697d1a2465b1835d7fc1e |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCMUU4OjJDMTAxMTo4OTRDQUZCOkI3QkQxNUI6Njk2RTFGNjUiLCJ2aXNpdG9yX2lkIjoiMTEyMzc3NTI2NTU5OTUyODgwNSIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | d2f731bb896df76a09371eb6b5657c07d18fb1c472736e4a9b4bcd4e4f25c779 |
| hovercard-subject-tag | pull_request:3115715392 |
| github-keyboard-shortcuts | repository,pull-request-list,pull-request-conversation,pull-request-files-changed,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/googleapis/python-bigquery-dataframes/pull/2344/files |
| twitter:image | https://avatars.githubusercontent.com/in/842251?s=400&v=4 |
| twitter:card | summary_large_image |
| og:image | https://avatars.githubusercontent.com/in/842251?s=400&v=4 |
| og:image:alt | This change adds support for the BigQuery SEARCH function within BigFrames. The implementation introduces a new SearchOp operation and a corresponding user-facing search function in the bigframes.b... |
| og:site_name | GitHub |
| og:type | object |
| hostname | github.com |
| expected-hostname | github.com |
| None | 2fbe8cba5e260284c10af515699ff9bb2d6ace05ab6c2e2e585b71d93b2812c3 |
| turbo-cache-control | no-preview |
| diff-view | unified |
| go-import | github.com/googleapis/python-bigquery-dataframes git https://github.com/googleapis/python-bigquery-dataframes.git |
| octolytics-dimension-user_id | 16785467 |
| octolytics-dimension-user_login | googleapis |
| octolytics-dimension-repository_id | 667598363 |
| octolytics-dimension-repository_nwo | googleapis/python-bigquery-dataframes |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 667598363 |
| octolytics-dimension-repository_network_root_nwo | googleapis/python-bigquery-dataframes |
| turbo-body-classes | logged-out env-production page-responsive full-width |
| disable-turbo | true |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 7fb3bc5c995a876085291706b75cf9b08900c338 |
| ui-target | canary-2 |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width