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
The current syntax for using TRIM() requires composing a text base value within the function call. This diverges from the Snowflake syntax for TRIM, LTRIM, and RTRIM. For example:
SELECTTRIM(LEADING 'xxx'FROM'xxxdatabend' );
This also creates problems when trying abstract away from direct SQL statements such as the use of SQLAlchemy. Ideally, the trim operations can be called with a clear function call like:
SELECT LTRIM('xxxdatabendxxx', 'x')
This would align with both Snowflake and Postgres syntax better.
The text was updated successfully, but these errors were encountered:
Summary
The current syntax for using TRIM() requires composing a text base value within the function call. This diverges from the Snowflake syntax for TRIM, LTRIM, and RTRIM. For example:
This also creates problems when trying abstract away from direct SQL statements such as the use of SQLAlchemy. Ideally, the trim operations can be called with a clear function call like:
This would align with both Snowflake and Postgres syntax better.
The text was updated successfully, but these errors were encountered: