pingcap/tidb

Built-in function SOUNDEX not supported

Open

#3,930 opened on 2017年7月28日

GitHub で見る
 (4 comments) (0 reactions) (0 assignees)Go (40,090 stars) (6,186 forks)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)?

コントリビューターガイド

Built-in function SOUNDEX not supported · pingcap/tidb#3930 | Good First Issue