pingcap/tidb

Built-in function SOUNDEX not supported

Open

#3,930 建立於 2017年7月28日

在 GitHub 查看
 (4 留言) (0 反應) (0 負責人)Go (40,090 star) (6,186 fork)batch import
component/expressionhelp wantedtype/compatibility

描述

Please answer these questions before submitting your issue. Thanks!

  1. What did you do?
create table t1 (id integer, a varchar(100) character set utf8 collate utf8_unicode_ci); 
insert into t1 values (1, 'Test');    
select * from t1 where soundex(a) = soundex('Test');
  1. What did you expect to see?
+------+------+
| id   | a    |
+------+------+
|    1 | Test |
+------+------+
1 row in set (0.01 sec)
  1. What did you see instead?
ERROR 1105 (HY000): line 0 column 31 near "a) = soundex('Test')" (total length 51)
  1. What version of TiDB are you using (tidb-server -V)?

貢獻者指南