mirror of https://github.com/milvus-io/milvus.git
fix: unicode replacement character (0xFFFD) are not supported as csv delimiter (#36310)
https://github.com/milvus-io/milvus/issues/36309 Signed-off-by: OxalisCu <2127298698@qq.com>pull/36954/head
parent
eb62433973
commit
60e51f1076
|
@ -104,7 +104,7 @@ func SkipDiskQuotaCheck(options Options) bool {
|
|||
|
||||
func GetCSVSep(options Options) (rune, error) {
|
||||
sep, err := funcutil.GetAttrByKeyFromRepeatedKV("sep", options)
|
||||
unsupportedSep := []rune{0, '\n', '\r', '"'}
|
||||
unsupportedSep := []rune{0, '\n', '\r', '"', 0xFFFD}
|
||||
defaultSep := ','
|
||||
if err != nil || len(sep) == 0 {
|
||||
return defaultSep, nil
|
||||
|
|
Loading…
Reference in New Issue