Repository navigation
feat(plm): Python 开源版按 session-python 接入并适配 PLM 环境 - #3
Open
LinJieXiao-XLJ wants to merge 7 commits into
Open
LinJieXiao-XLJ wants to merge 7 commits into
LinJieXiao-XLJ wants to merge 7 commits into
Conversation
- 新增 start.sh(prepare/list-cases/case/cases)、用例映射与 JUnit XML 后处理 - conftest 用 PLM 注入的 K8s 地址覆盖 conf/config.yml,缺失时快速失败 - 新增 88 条用例定义(中文名称与功能点路径) - 默认口令改为企业版 TimechoDB@2021 Co-Authored-By: Claude Code <noreply@anthropic.com>
开源用例不依赖企业版 OBJECT;PyPI 客户端自带 thrift 生成代码,prepare 更稳定。 Co-Authored-By: Claude Code <noreply@anthropic.com>
- 默认自动化类型从 session-python-oss 改为 session-python,对齐 111 五类口径; - 依赖按 Python 3.12 可用版本钉住:numpy 1.26.4 / pandas 2.1.4 / greenlet 3.0.3 (111 的 1.25.2/2.0.3/2.0.2 无 cp312 wheel); - 最简 session 用例改为显式传配置凭据,避免 PLM TimechoDB 默认口令下 801; - 新增 88 条用例审查文档。 Co-Authored-By: Claude Code <noreply@anthropic.com>
TableSessionPoolConfig() 默认 root/root,PLM TimechoDB 默认口令为 TimechoDB@2021,直接构造会 801。改为从 conf/config.yml 读取 node_urls 与 凭据,用例名同步为「最简 session_pool 连接(node_urls + 显式凭据)」。 Co-Authored-By: Claude Code <noreply@anthropic.com>
导入 PLM 后回填 TimechoDB-3127 ~ TimechoDB-3214,并写入映射三件套, 供 start.sh case/lookup 按 PLM 编号执行。 Co-Authored-By: Claude Code <noreply@anthropic.com>
Co-Authored-By: Claude Code <noreply@anthropic.com>
Collaborator
Author
验证结果(2026-11-05)
🤖 Generated with Claude Code |
apache-iotdb 2.0.11 发布包的 execute_query_statement / execute_statement / execute_raw_data_query 用位置参数构造结果集,把 session_id 与 statement_id 传反;TimechoDB 2.0.13.x 的 fetchResultsV2 新增查询归属校验后,第二次及 以后的 fetch 会报 803 "The requested query does not belong to the current session.",仅多页查询触发。 在 conftest 中检测到缺陷方法时进程内包裹,把结果集内部 id 校正回 Session 自己的值;execute_last_data_query 本身正确,不受影响。 Co-Authored-By: Claude Code <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
变更
session-python-oss→session-python,与 111 节点五类原生接口口径一致;numpy==1.26.4/pandas==2.1.4/greenlet==3.0.3(111 的 1.25.2 / 2.0.3 / 2.0.2 没有 cp312 wheel);
tree/test_treemodel_session.py::test_session1由 2 参构造改为显式传配置凭据,避免 PLM TimechoDB 默认口令
TimechoDB@2021下 801 认证失败;docs/plm-case-review.md,逐条列出 88 条用例的目标 / 名称 / 功能点 / 描述。验证
sh start.sh prepare成功,venv 实际版本 numpy 1.26.4 / pandas 2.1.4 / greenlet 3.0.3;🤖 Generated with Claude Code