You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@linkis.apache.org by GitBox <gi...@apache.org> on 2022/08/24 06:18:22 UTC
[GitHub] [incubator-linkis] casionone commented on a diff in pull request #2961: Dev 1.3.1 muli manager
casionone commented on code in PR #2961:
URL: https://github.com/apache/incubator-linkis/pull/2961#discussion_r953390253
##########
linkis-public-enhancements/linkis-datasource/linkis-datasource-manager/server/src/main/java/org/apache/linkis/datasourcemanager/core/dao/mapper/DataSourceEnvMapper.xml:
##########
@@ -123,4 +123,14 @@
`id` = #{id}
</where>
</update>
+
+ <select id="selectOneByName" resultMap="dataSourceEnvMap">
+ <![CDATA[SELECT ]]>
Review Comment:
需要加上dataSourceTypeId参数 单独的 envName 容易出现冲突
表linkis_ps_dm_datasource_env 需要新增unique 索引键 envName +dataSourceTypeId
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: notifications-unsubscribe@linkis.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@linkis.apache.org
For additional commands, e-mail: notifications-help@linkis.apache.org