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 behavioural differences due to return type and handle constant string literal inputs differently for T-SQL COALESCE function (#345)
This commit contains the following changes :
Whenever the caller is T-SQL COALESCE, then call the select_common_type_hook with 'TSQL_COALESCE' context.
If the input is a constant string literal, first we convert the UNKNOWN node to VARCHAR node and then coerce it to the common type. This change also handles empty or white space strings according to the way T-SQL handles.
Issues Resolved
[BABEL-726]
Extension PR : babelfish-for-postgresql/babelfish_extensions#2507
Signed-off-by: Sai Rohan Basa [email protected]
0 commit comments