924060929 commented on a change in pull request #5336: URL: https://github.com/apache/incubator-doris/pull/5336#discussion_r585529036
########## File path: extension/spark-doris-connector/src/main/scala/org/apache/doris/spark/rdd/ScalaValueReader.scala ########## @@ -46,6 +47,9 @@ class ScalaValueReader(partition: PartitionDefinition, settings: Settings) { protected val logger = Logger.getLogger(classOf[ScalaValueReader]) protected val client = new BackendClient(new Routing(partition.getBeAddress), settings) + protected val clientLock = + if (deserializeArrowToRowBatchAsync) new ReentrantLock() Review comment: Is valid, equals to c++: ```c++ bool deserializeArrowToRowBatchAsync() { return ... } ``` ---------------------------------------------------------------- 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. For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: commits-unsubscr...@doris.apache.org For additional commands, e-mail: commits-h...@doris.apache.org