they tried using PINCODE, but got an error:
org.apache.spark.SparkException: [FAILED_EXECUTE_UDF] User defined function (`PinCodeMatchTypeFunction (UDFRegistration$$Lambda$15763/1336700993)`: (string, string) => double) failed due to: java.lang.ArrayIndexOutOfBoundsException. SQLSTATE: 39000
so they switched back to EXACT