Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
sql: internal error with BUCKET_COUNT = NULL
Previously, the `EvalShardBucketCount` function did not properly handle the case where `BUCKET_COUNT` was set to `NULL`, causing evaluation errors. This change adds explicit handling for `NULL` values, ensuring that `BUCKET_COUNT` cannot be set to `NULL` and returns an appropriate error message. Also added a check for NULL before sanitizing and evaluating shardBuckets to avoid invalid operations on NULL values. returns the error `BUCKET_COUNT cannot be NULL`. Epic: none Fixes: #130353 Release note: None
- Loading branch information