pingcap/tidb

Built-in function SOUNDEX not supported

Open

#3.930 geöffnet am 28. Juli 2017

Auf GitHub ansehen
 (4 Kommentare) (0 Reaktionen) (0 zugewiesene Personen)Go (6.186 Forks)batch import
component/expressionhelp wantedtype/compatibility

Repository-Metriken

Stars
 (40.090 Stars)
PR-Merge-Metriken
 (Durchschn. Merge 14T 4h) (346 gemergte PRs in 30 T)

Beschreibung

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)?

Contributor Guide