Dhirenda Gautam created CALCITE-3663: ----------------------------------------
Summary: Support for TRIM function in Bigquery dialect Key: CALCITE-3663 URL: https://issues.apache.org/jira/browse/CALCITE-3663 Project: Calcite Issue Type: Improvement Components: core Reporter: Dhirenda Gautam When we run query SELECT TRIM('ABC') for big-query Dialect we expect SELECT TRIM('ABC'),but get SELECT TRIM(BOTH ' ' FROM 'ABC') which is not a valid query in Big-Query. Similary below query SELECT TRIM(BOTH 'a' from 'ABC') SELECT TRIM(LEADING ' ' from 'ABC') SELECT TRIM(TRAILING ' ' from 'ABC') are not getting converted into validate Query format. Unparse logic for the trim has been handle in Big-query dialect to convert the source Trim query into valid big-query query. -- This message was sent by Atlassian Jira (v8.3.4#803005)