pandalee99 commented on code in PR #27251:
URL: https://github.com/apache/shardingsphere/pull/27251#discussion_r1266129669
##########
kernel/data-pipeline/core/src/main/java/org/apache/shardingsphere/data/pipeline/common/sqlbuilder/PipelineImportSQLBuilder.java:
##########
@@ -61,11 +71,11 @@ public PipelineImportSQLBuilder(final DatabaseType
databaseType) {
*/
public String buildInsertSQL(final String schemaName, final DataRecord
dataRecord) {
String sqlCacheKey = INSERT_SQL_CACHE_KEY_PREFIX +
dataRecord.getTableName();
- if (!sqlCacheMap.containsKey(sqlCacheKey)) {
+ if (null!=sqlCache.getIfPresent(sqlCacheKey)) {
Review Comment:
Thanks. I try to refer
--
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: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]