Skip to content

Commit

Permalink
modify getTabAlias for tableMaps is not empty
Browse files Browse the repository at this point in the history
  • Loading branch information
baisui1981 committed May 5, 2023
1 parent a1d666b commit 2b89960
Showing 1 changed file with 4 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -169,7 +169,10 @@ public TableAliasMapper getTabAlias(IPluginContext pluginCtx) {
// || (isReaderUnStructed = this.isReaderUnStructed(null))) {

if ((this.isRDBMS2RDBMS(pluginCtx))
|| (isReaderUnStructed = this.isReaderUnStructed(pluginCtx))) {
|| (isReaderUnStructed = this.isReaderUnStructed(pluginCtx))
// 支持ElasticSearch
|| CollectionUtils.isNotEmpty(tableMaps)
) {

if (CollectionUtils.isEmpty(tableMaps)) {
return TableAliasMapper.Null;
Expand Down

0 comments on commit 2b89960

Please sign in to comment.