You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@kyuubi.apache.org by GitBox <gi...@apache.org> on 2022/11/10 04:47:25 UTC

[GitHub] [incubator-kyuubi] cfmcgrady commented on issue #3794: [Improvement][Beeline] Improve the data interchange performance via Arrow serialization/deserialization

cfmcgrady commented on issue #3794:
URL: https://github.com/apache/incubator-kyuubi/issues/3794#issuecomment-1309768734

   # Local Test
   
   ## Input Dataset
   
   ```scala
   spark.range(1000000)
     .selectExpr("cast(id as int) as c1", "cast(id as int) as c2")
     .selectExpr("c1", "concat(c2, 'xyz') as c2")
     .write
     .save("/tmp/parquet/t4")
   ```
   
   ## Query
   
   cat /tmp/a.sql
   
   ```
   select * from parquet.`/tmp/parquet/t4`;
   ```
   
   ## Beeline command
   
   ```
   bin/beeline -u 'jdbc:hive2://0.0.0.0:10009/;' -f /tmp/a.sql > /dev/null
   ```
   
   ## Result
   
   - w/ Arrow
   
   ```
   1,000,000 rows selected (5.411 seconds)
   ```
   
   - w/o Arrow(thrift)
   
   ```
   1,000,000 rows selected (8.716 seconds)
   ```
   


-- 
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: notifications-unsubscribe@kyuubi.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@kyuubi.apache.org
For additional commands, e-mail: notifications-help@kyuubi.apache.org