fetch_historical_feature_values: unquoted BigQuery table name fails for project IDs like my-proj-5bb0
维护者通常 1 天内回复
@vanshhh18 已经在做这个了。
开始于 2026年11月10日。
评估
- 难度
- 2/5
- 预计耗时
- 1-3 小时
- 新手友好度
- 82/100
- Issue 类型
- 缺陷
- 描述清晰度
- 描述清楚
- 活跃度
- 活跃
- 技术栈
- python
调研方向
阅读 vertexai/resources/preview/feature_store/offline_store.py,并检查构建源查询的 _feature_to_data_source。查找附近覆盖历史特征查询和表引用的测试;使用包含连字符后跟数字的 BigQuery 项目 ID 重现问题。生成的查询为完全限定表名加上引号,且 point-in-time 查询成功执行时,即为完成。
由索引模型根据 Issue 内容生成。
描述
Environment
- google-cloud-aiplatform 1.165.1 and 2.7.0
vertexai.resources.preview.feature_store.offline_store.fetch_historical_feature_values
Problem
_feature_to_data_source in vertexai/resources/preview/feature_store/offline_store.py builds the feature source query as
f"FROM {fully_qualified_table}"
without backticks. BigQuery cannot parse an unquoted project ID whose segment after a dash starts with a digit, such as my-proj-5bb0, so the point-in-time query fails:
google.api_core.exceptions.BadRequest: 400 Syntax error: Expected ")" but got "bb0"
Steps to reproduce
- In a project whose ID has a dash followed by a digit-leading segment (for example
my-proj-5bb0), create a FeatureGroup overbq://my-proj-5bb0.dataset.viewand register features. - Call
offline_store.fetch_historical_feature_values(entity_df=..., features=[...]).
Expected
The query quotes the table reference:
f"FROM `{fully_qualified_table}`"
With that change the query runs and returns the expected point-in-time rows.
Workaround
Call with dry_run=True, add backticks around the table name in the printed query, and run it with bigframes.pandas.read_gbq_query.
- 主要语言
- Python
- 星标
- 914
- 派生
- 475
- 平均合并
- 2 天 6 小时
- 30 天内合并 PR
- 38
环境准备
- 没有 Dockerfile 或 Docker Compose 文件
- 有 Pull Request 模板
- 阅读贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
googleapis/python-aiplatform 的其他 Issue
-
`evaluation` extra caps litellm below 1.97.0, so no release fixing GHSA-7hp6-4w63-5g45 / CVE-2026-114612 (critical) can be installed可能重新可做 @AtharvRG 于 17 天前认领,目前没有进行中的 PR。 未关闭api: vertex-ai
难度 2/5 1-3 小时 新手友好度 65/100
googleapis/python-aiplatform#7252 · 1 条评论 ·
维护者通常 1 天内回复
-
api: vertex-ai
难度 2/5 1-3 小时 新手友好度 72/100
googleapis/python-aiplatform#7208 · 1 条评论 ·
维护者通常 1 天内回复
-
AgentEngineConfig.agent_framework Literal rejects "a2a" — out of sync with _SUPPORTED_AGENT_FRAMEWORKS and the GA A2A template可能重新可做 关联的 PR 已关闭且未合并。 未关闭api: vertex-ai
难度 2/5 1-3 小时 新手友好度 78/100
googleapis/python-aiplatform#7097 ·
维护者通常 1 天内回复
-
CustomContainerTrainingJob.run drops max_wait_duration=0 instead of requesting indefinite DWS wait可能已有人在做 @hugosmoreira 于 95 天前认领。 未关闭api: vertex-ai
难度 2/5 1-3 小时 新手友好度 78/100
googleapis/python-aiplatform#7067 · 1 条评论 ·
维护者通常 1 天内回复
-
`A2aAgent` builds agent-card `url` from default region (us-central1), ignoring `GOOGLE_CLOUD_AGENT_ENGINE_LOCATION`可能已有人在做 @sushicw 于 158 天前认领。 未关闭api: vertex-ai
难度 2/5 1-3 小时 新手友好度 68/100
googleapis/python-aiplatform#6877 ·
维护者通常 1 天内回复
查看 googleapis/python-aiplatform 的全部 Issue
相似的 Issue
-
难度 2/5 1-3 小时 新手友好度 88/100
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 68/100
readthedocs/readthedocs-builder#73 ·
维护者通常 1 天内回复
-
area: ci bug good first issue help wanted
难度 2/5 1-3 小时 新手友好度 84/100
hffgzktbcc-blip/ounce-core#484 · 1 条评论 ·
维护者通常 1 天内回复
-
bug documentation
难度 2/5 1-3 小时 新手友好度 73/100
vllm-project/vllm-torchtpu#3395 ·
维护者通常 1 天内回复
-
Hermes plugin: MITM-domain discovery misses the model: block (provider/base_url nested under model:) — traffic blind-tunnels silently, zero compression可能已有人在做 关联的 PR 仍在进行中或已合并。 未关闭bug
难度 2/5 1-3 小时 新手友好度 66/100
ranxianglei/billion-context#7063 ·
维护者通常 1 天内回复