You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[Bug]: 3.0-dev lacks function and window compatibility updates #24185
- Hardware parameters: N/A (branch-compare audit)
- OS type: Darwin
- Others:
- Compared `base/main` vs `base/3.0-dev`- Audit window: 2025-10-01 .. 2026-04-24
Actual Behavior
3.0-dev still diverges from main on several built-in and window-function compatibility surfaces. After removing time/date overlap, the main missing items in this bucket are: PERCENT_RANK(), CUME_DIST(), AES_ENCRYPT() / AES_DECRYPT(), and ELT().
Expected Behavior
3.0-dev should expose the same non-time built-in/window-function surface as main.
Steps to Reproduce
1. Compare `base/main` and `base/3.0-dev` for PRs `#23764`, `#23762`, `#23639`, `#23841`.
2. Verify missing surfaces on `3.0-dev`:
-`git grep -n 'PERCENT_RANK' base/3.0-dev -- pkg/sql/parsers/dialect/mysql/mysql_sql.y` -> no match
-`git grep -n 'CUME_DIST' base/3.0-dev -- pkg/sql/parsers/dialect/mysql/mysql_sql.y` -> no match
-`git grep -nE 'AES_ENCRYPT|AES_DECRYPT' base/3.0-dev -- pkg/sql/plan/function/list_builtIn.go` -> no match
-`git cat-file -e base/3.0-dev:test/distributed/cases/function/func_cume_dist.sql` -> missing
-`git cat-file -e base/3.0-dev:test/distributed/cases/function/func_string_aes.test` -> missing
-`git cat-file -e base/3.0-dev:test/distributed/cases/function/func_string_elt.test` -> missing
3. Try representative SQL on `3.0-dev`, for example:
-`select percent_rank() over(order by a) from t;`-`select cume_dist() over(order by a) from t;`-`select aes_decrypt(aes_encrypt('text','key'),'key');`-`select elt(2, 'a', 'b');`
Additional information
Main-only reference commits:
c29d141d8afeat: support PERCENT_RANK window function (#23764)
416d612443feat: implement CUME_DIST window function (#23762)
24f65c3e2aimplement AES_ENCRYPT() and AES_DECRYPT() (#23639)
44c285d619fix: ELT() function fully compatible with MySQL (#23841)
Time/date functions such as GET_FORMAT() are no longer tracked here and have been moved into #24189.
changed the title [-][Bug]: 3.0-dev lacks several main-branch function and window compatibility updates[/-][+][Bug]: 3.0-dev lacks function and window compatibility updates[/+]on Apr 24, 2026
Activity
[-][Bug]: 3.0-dev lacks several main-branch function and window compatibility updates[/-][+][Bug]: 3.0-dev lacks function and window compatibility updates[/+][3.0-dev] Backport function/window compatibility (Fixes #24185) (#24194)