pingcap/tidb

Built-in function SOUNDEX not supported

Open

#3930 aperta il 28 lug 2017

Vedi su GitHub
 (4 commenti) (0 reazioni) (0 assegnatari)Go (6186 fork)batch import
component/expressionhelp wantedtype/compatibility

Metriche repository

Star
 (40.090 star)
Metriche merge PR
 (Merge medio 14g 4h) (346 PR mergiate in 30 g)

Descrizione

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

Guida contributor