ArgusLi commented on PR #35603:
URL: https://github.com/apache/arrow/pull/35603#issuecomment-1549921633

   @lidavidm That is quite interesting... thanks for the link!
   
   We did do some profiling - multiple thread dumps while the JDBC client was 
fetching data and in all the snapshots it was waiting for next().
   
   ```
   DBeaver: Read data [SELECT * FROM "mongo.yelp"."review"]awaiting 
notification on [ 0x00000007cb2c85a0 ]
   at jdk.internal.misc.Unsafe.park(java.base@17/Native Method)
   at java.util.concurrent.locks.LockSupport.park(java.base@17/Unknown Source)
   at 
java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionNode.block(java.base@17/Unknown
 Source)
   at java.util.concurrent.ForkJoinPool.unmanagedBlock(java.base@17/Unknown 
Source)
   at java.util.concurrent.ForkJoinPool.managedBlock(java.base@17/Unknown 
Source)
   at 
java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.await(java.base@17/Unknown
 Source)
   at java.util.concurrent.LinkedBlockingQueue.take(java.base@17/Unknown Source)
   at cfjd.org.apache.arrow.flight.FlightStream.next(FlightStream.java:231)
   at 
org.apache.arrow.driver.jdbc.ArrowFlightJdbcFlightStreamResultSet.next(ArrowFlightJdbcFlightStreamResultSet.java:184)
   at 
org.jkiss.dbeaver.model.impl.jdbc.exec.JDBCResultSetImpl.next(JDBCResultSetImpl.java:272)
   ```


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