[sync] T5496 fix: treat date comparison functions as boolean in formula SQL conversion#3474
[sync] T5496 fix: treat date comparison functions as boolean in formula SQL conversion#3474tea-artist wants to merge 1 commit into
Conversation
…la SQL conversion Synced from teableio/teable-ee@0a12e96 Co-authored-by: Aries X <caoxing9@gmail.com> Co-authored-by: Bieber <artist@teable.io> Co-authored-by: Boris <boris2code@outlook.com> Co-authored-by: Jocky Zhou <jocky@teable.ai> Co-authored-by: Jun Lu <hammond@teable.io> Co-authored-by: Pengap <penganpingprivte@gmail.com> Co-authored-by: SkyHuang <sky.huang.fe@gmail.com> Co-authored-by: Uno <uno@teable.ai> Co-authored-by: nichenqin <nichenqin@hotmail.com>
|
|
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 26e2a6d65d
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
| FunctionName.IsBefore, | ||
| FunctionName.IsAfter, | ||
| FunctionName.IsSame, |
There was a problem hiding this comment.
Split return-type functions from boolean contexts
This set is also used by isInBooleanContext() to decide whether link-field arguments should be replaced with linkHasAny(...). Adding IS_BEFORE/IS_AFTER/IS_SAME here means a formula such as IS_AFTER({LinkWithDateTitle}, '2024-01-01') no longer compares the link title value; the link argument is coerced to an existence boolean before the date comparison runs. The return-type inference fix needs a separate set from the logical-argument context set used for link normalization.
Useful? React with 👍 / 👎.
🧹 Preview Environment Cleanup
|
🔄 Automated sync from EE repository.
237 commit(s) synced since last sync.
Authors
Included commits
ai-agent-engineT5222 T3933 (Pengap)Latest source commit: teableio/teable-ee@0a12e96
This PR was automatically created by the sync workflow.