Caideyipi commented on code in PR #18161:
URL: https://github.com/apache/iotdb/pull/18161#discussion_r3548812938


##########
iotdb-core/datanode/src/main/java/org/apache/iotdb/db/pipe/receiver/transform/statement/PipeConvertedInsertRowStatement.java:
##########
@@ -92,13 +92,13 @@ public PipeConvertedInsertRowStatement(final 
InsertRowStatement insertRowStateme
 
   @Override
   protected boolean checkAndCastDataType(int columnIndex, TSDataType dataType) 
{
-    PipeLogger.log(
-        LOGGER::info,
-        "Pipe: Inserting row to %s.%s. Casting type from %s to %s.",
-        devicePath,
-        measurements[columnIndex],
-        dataTypes[columnIndex],
-        dataType);
+    if (LOGGER.isInfoEnabled()) {
+      PipeLogger.log(
+          LOGGER::info,
+          "Pipe: Inserting row. Casting type from %s to %s.",
+          dataTypes[columnIndex],
+          dataType);
+    }

Review Comment:
   Addressed. Moved this log and the other pipe receiver type-conversion 
throttled logs to DataNodePipeMessages (en/zh), including row/tablet casting, 
row parse failure, retry failure, and null database warning.



-- 
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]

Reply via email to