jon-wei commented on a change in pull request #11961:
URL: https://github.com/apache/druid/pull/11961#discussion_r765082854



##########
File path: 
core/src/main/java/org/apache/druid/data/input/impl/MapInputRowParser.java
##########
@@ -107,13 +108,15 @@ static InputRow parse(
     }
     if (timestamp == null) {
       throw new ParseException(
+          rawMapToPrint(theMap),

Review comment:
       Made this reuse rawMapToPrint

##########
File path: 
extensions-core/kafka-indexing-service/src/main/java/org/apache/druid/data/input/kafkainput/KafkaInputReader.java
##########
@@ -104,7 +104,10 @@ public KafkaInputReader(
             valueRow = (MapBasedInputRow) r;
           }
           catch (ClassCastException e) {
-            throw new ParseException("Unsupported input format in valueFormat. 
KafkaInputformat only supports input format that return MapBasedInputRow rows");
+            throw new ParseException(
+                null,
+                "Unsupported input format in valueFormat. KafkaInputformat 
only supports input format that return MapBasedInputRow rows"

Review comment:
       fixed




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



---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to