[CALCITE-6483] Enable LEN and LENGTH in the correct function libraries#3865
[CALCITE-6483] Enable LEN and LENGTH in the correct function libraries#3865rubenada merged 1 commit intoapache:mainfrom
Conversation
|
Should we add tests to SqlOperatorTest? |
@caicancai I think there is no need to touch |
|
@normanj-bitquill overall LGTM. I think that current patch is wider than the original intent, so perhaps we should adjust the Jira title (and commit message) to something broader, e.g. "Add LEN and LENGTH functions to missing libraries", wdyt? |
@rubenada Thank you for your reply. I am worried that in some negative tests, the results of each dialect may be different. Do you mind if I test it on some databases first? |
Enabled the LEN function for: * Amazon Redshift * Snowflake * Spark Enabled the LENGTH function for: * BigQuery * Hive * PostgreSQL * Amazon Redshift * Snowflake * Spark
94f64b4 to
f244d65
Compare
|
@rubenada I have updated the ticket title and commit message. Let me know if it still doesn't match the change. |
|
|
Thanks @normanj-bitquill , LGTM. I'll merge in the next 24-48h if no further comment appears. |



Enabled the LEN function for:
Enabled the LENGTH function for: