Skip to content

fix: enable window functions in ParseOneSql - #3367

Closed
actiontech-bot wants to merge 1 commit into
mainfrom
sqle/fix-3107
Closed

actiontech-bot wants to merge 1 commit into
mainfrom
sqle/fix-3107

Conversation

@actiontech-bot

Copy link
Copy Markdown
Member

关联的 issue

https://github.com/actiontech/sqle-ee/issues/3107

描述你的变更

  • ParseOneSql 创建 parser 后开启 EnableWindowFunc(true),与审核 splitter 行为对齐
  • 新增 TestParseOneSql_WindowFunction,锁定需求 SQL 与最小 ROW_NUMBER() OVER 样例可解析为 SelectStmt
  • 使在线调优取表元数据不再因窗口函数语法在解析门失败

确认项(pr提交后操作)

Tip

请在指定复审人之前,确认并完成以下事项,完成后✅


  • 我已完成自测
  • 我已记录完整日志方便进行诊断
  • 我已在关联的issue里补充了实现方案
  • 我已在关联的issue里补充了测试影响面
  • 我已确认了变更的兼容性,如果不兼容则在issue里标记 not_compatible
  • 我已确认了是否要更新文档,如果要更新则在issue里标记 need_update_doc

Made with Cursor

Align ParseOneSql with splitter so SQL optimization metadata can parse OVER (...) queries.
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.

2 participants