Skip to content

fix: add column identifier backticks and include test cases for inclu… - #905

Merged
renjie-run merged 2 commits into
masterfrom
fix-filter
Aug 21, 2026
Merged

renjie-run merged 2 commits into
masterfrom
fix-filter

Conversation

@SailingBoat762

Copy link
Copy Markdown
Contributor

…de_me filter predicate

@seafile-dev seafile-dev left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Verdict: Comment

Warnings:

  • 新增用例只覆盖了 CreatorModify,没有覆盖本任务所述的含 - 的创建者列名;因此无法防止反引号被移除后该实际场景回归。
    Suggested fix: 将其中一个 include_me 用例的 column_name 改为如 Creator-Name,并断言生成的 SQL 为 `Creator-Name` = ...

Comment thread dtable_events/tests/sql/test_reference.py Outdated

@seafile-dev seafile-dev left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Verdict: Approve

Blocking:

  • 无。

Warnings:

  • 无。此前指出的“连字符创建者列名未覆盖”已在当前提交中解决:新增用例通过 statistic2sql 走完整的 include_me 路径,并断言生成 `Creator-Name` = ...;实现也在 CreatorOperator.op_include_me 中对列标识符加了反引号。

@renjie-run
renjie-run merged commit 1b33a1e into master Aug 21, 2026
1 check passed
@renjie-run
renjie-run deleted the fix-filter branch August 21, 2026 09:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants