Skip to content

Commit

Permalink
[bugfix] virtual update datasource (#139)
Browse files Browse the repository at this point in the history
  • Loading branch information
XiaoJiang521 authored Oct 26, 2023
1 parent 26f08b6 commit cfc5870
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -154,7 +154,7 @@ public Boolean updateVirtualTable(
VirtualTable virtualTable =
VirtualTable.builder()
.id(Long.valueOf(tableId))
.datasourceId(originalTable.getDatasourceId())
.datasourceId(Long.parseLong(req.getDatasourceId()))
.virtualDatabaseName(req.getDatabaseName())
.virtualTableName(req.getTableName())
.description(req.getDescription())
Expand Down

0 comments on commit cfc5870

Please sign in to comment.