fix: excel时间转文本,使用文本下拉框搜索失败
This commit is contained in:
parent
86eafc4d77
commit
429ceec506
@ -145,6 +145,8 @@ public class DorisQueryProvider extends QueryProvider {
|
||||
if (f.getDeExtractType() == 1) {
|
||||
if (f.getDeType() == 2 || f.getDeType() == 3) {
|
||||
fieldName = String.format(DorisConstants.UNIX_TIMESTAMP, originField) + "*1000";
|
||||
} else if (f.getDeType().equals(DeTypeConstants.DE_STRING)) {
|
||||
fieldName = String.format(DorisConstants.CAST, originField, DorisConstants.VARCHAR);
|
||||
} else {
|
||||
fieldName = originField;
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user