Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(trino): column name judge #357

Closed
wants to merge 3 commits into from

Conversation

LuckyFBB
Copy link
Collaborator

@LuckyFBB LuckyFBB commented Oct 9, 2024

#354 一样,嵌套 columnName 在 expression 里面

但是有些地方使用了 expression 并不需要我们提示字段,因此我们需要判断当前 columnName 的路径是否在 groupBy 中

image

我们通过 core.collectCandidates 拿到的 candidates 就包含了当前的路径,在 ruleList 里面

@LuckyFBB LuckyFBB marked this pull request as draft October 9, 2024 07:29
@LuckyFBB LuckyFBB changed the base branch from main to next October 9, 2024 07:29
@LuckyFBB LuckyFBB force-pushed the feat/columnNameJudge branch from a52d90c to 3c7382b Compare October 9, 2024 07:31
@LuckyFBB LuckyFBB force-pushed the feat/columnNameJudge branch from b4ec7f1 to 4d9ce06 Compare October 11, 2024 14:06
@LuckyFBB LuckyFBB force-pushed the feat/columnNameJudge branch from fe40b30 to 4fe18ef Compare October 12, 2024 03:35
@LuckyFBB LuckyFBB closed this Oct 12, 2024
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.

1 participant