有可能是升级上来的时候,默认关闭了 WIndowFunction 功能?
试一下 set tidb_enable_window_function = 1
https://pingcap.com/docs-cn/stable/reference/sql/functions-and-operators/window-functions/#窗口函数
有可能是升级上来的时候,默认关闭了 WIndowFunction 功能?
试一下 set tidb_enable_window_function = 1
https://pingcap.com/docs-cn/stable/reference/sql/functions-and-operators/window-functions/#窗口函数