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:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]