catalog查询报错,版本2.1.2

Viewed 51

1105 - RuntimeException, msg: org.apache.doris.common.UserException: errCode = 2, detailMessage = java.lang.RuntimeException:
Conflict table names found in remote database/schema: xx when lower_case_table_names is 1: [xx, xx]. Please use meta_name_mapping to specify the names.
at org.apache.doris.datasource.mapping.IdentifierMapping.setTableNameMapping(IdentifierMapping.java:111)
at org.apache.doris.datasource.jdbc.client.JdbcClient.filterTableNames(JdbcClient.j

3 Answers

已解决;类似问题可以参考 ALTER CATALOG xxx SET PROPERTIES ('meta_names_mapping' = '{
"tables": [
{
"remoteDatabase": "xx",
"remoteTable": "table_name",
"mapping": "table_name_1"
}
]
}');

我用了你们的方法好像都不行,lower_case_meta_names和lower_case_table_names我都配置成1并且重启了fe了,还是不行;我配置的是oracle对象