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
fix: Replace unsafe unwrap() calls with proper error handling in inte… (#18418)
fix: Replace unsafe unwrap() calls with proper error handling in interpreter_set.rs
This commit fixes potential panic issues by replacing two unsafe unwrap() calls:
1. scalar.as_string().unwrap() - Now returns a proper error if the scalar is not a string
2. c.index(0).unwrap() - Now returns an Internal error if accessing the first row fails
These changes improve the robustness of the SET statement interpreter by providing
meaningful error messages instead of panicking, which is crucial for production systems.
0 commit comments