mirror of
https://github.com/CodePhiliaX/Chat2DB.git
synced 2025-07-28 18:22:54 +08:00
fix clickhouse select table
This commit is contained in:
@ -298,7 +298,11 @@ public class ClickHouseMetaData extends DefaultMetaService implements MetaData {
|
||||
|
||||
@Override
|
||||
public String getMetaDataName(String... names) {
|
||||
return Arrays.stream(names).filter(name -> StringUtils.isNotBlank(name)).map(name -> "`" + name + "`").collect(Collectors.joining("."));
|
||||
return Arrays.stream(names)
|
||||
.skip(1) // 跳过第一个名称
|
||||
.filter(StringUtils::isNotBlank)
|
||||
.map(name -> "`" + name + "`")
|
||||
.collect(Collectors.joining("."));
|
||||
}
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user