Details
-
New Feature
-
Status: Closed
-
Major
-
Resolution: Fixed
-
1.34.0
Description
Hi, devs. I noticed that calcite support soundex for BIG_QUERY, MYSQL, POSTGRESQL, ORACLE dialect except Spark. i think we can support it.
soundex(str) - Returns Soundex code of the string.
Examples:
> SELECT soundex('Miller');
M460
https://spark.apache.org/docs/latest/api/sql/index.html#soundex
Note: currently soundex for BIG_QUERY, MYSQL, POSTGRESQL, ORACLE dialect throw IllegalArgumentException when string can't be mapped. However, spark not throw exception but return original string.
Attachments
Issue Links
- is related to
-
CALCITE-2965 Implement string functions: REPEAT, SPACE, SOUNDEX, DIFFERENCE
- Closed
- relates to
-
CALCITE-5874 Add withReturnTypeInference copy method for SqlBasicFunction
- Closed
- links to