Update allowed SQL functions in computed column editor#102
Merged
roncodes merged 1 commit intofeature/universe-refactor-supportfrom Dec 4, 2025
Merged
Conversation
- Expanded from 16 to 100+ SQL functions to match backend ComputedColumnValidator - Added comprehensive date/time functions (LAST_DAY, TIMESTAMPDIFF, DATE_FORMAT, etc.) - Added string manipulation functions (CONCAT_WS, SUBSTRING, REPLACE, etc.) - Added numeric/math functions (CEIL, FLOOR, SQRT, trigonometric functions, etc.) - Added conditional functions (IF, CASE/WHEN/THEN/ELSE/END) - Added aggregate functions (COUNT, SUM, AVG, MIN, MAX, GROUP_CONCAT) - Added type conversion functions (CAST, CONVERT) - Organized functions by category with comments for better readability - Ensures frontend validation matches backend capabilities
2405b8b
into
feature/universe-refactor-support
3 of 4 checks passed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
This PR updates the allowed SQL functions list in the query builder's computed column editor modal to match the comprehensive list of 100+ functions supported by the backend ComputedColumnValidator.
Changes
Why This Change?
The backend ComputedColumnValidator was recently updated to support 70+ SQL functions (see core-api PRs #173-175), but the frontend modal was still showing only the original 16 functions. This created confusion for users who might think certain functions aren't supported when they actually are.
Testing
Related Work