cfmcgrady opened a new pull request, #3803:
URL: https://github.com/apache/incubator-kyuubi/pull/3803

   <!--
   Thanks for sending a pull request!
   
   Here are some tips for you:
     1. If this is your first time, please read our contributor guidelines: 
https://kyuubi.readthedocs.io/en/latest/community/CONTRIBUTING.html
     2. If the PR is related to an issue in 
https://github.com/apache/incubator-kyuubi/issues, add '[KYUUBI #XXXX]' in your 
PR title, e.g., '[KYUUBI #XXXX] Your PR title ...'.
     3. If the PR is unfinished, add '[WIP]' in your PR title, e.g., 
'[WIP][KYUUBI #XXXX] Your PR title ...'.
   -->
   
   ### _Why are the changes needed?_
   <!--
   Please clarify why the changes are needed. For instance,
     1. If you add a feature, you can talk about the use case of it.
     2. If you fix a bug, you can clarify why it is a bug.
   -->
   
   to close #3794 
   
   ## Local Test
   
   ### Input dataset
   
   ```scala
   spark.sql(
     """
       |select * from tpcds.sf10.catalog_sales limit 2000000
       |""".stripMargin)
     .write
     .mode("overwrite")
     .save("/tmp/parquet/tpcds/sf10/catalog_sales_2000000")
   ```
   
   ### Query
   
   cat /tmp/b.sql
   
   ```sql
   select * from parquet.`/tmp/parquet/tpcds/sf10/catalog_sales_2000000`;
   ```
   
   ### Beeline command
   ```
   bin/beeline -u 'jdbc:hive2://0.0.0.0:10009/;' --hiveconf 
kyuubi.beeline.arrow.enabled=true/false --hiveconf 
kyuubi.operation.incremental.collect=false/true -f /tmp/b.sql > /dev/null
   ```
   
   ### Spark
   
   ```
   /Users/fchen/Software/spark-3.3.0-bin-hadoop3/bin/spark-submit \
       --class org.apache.kyuubi.engine.spark.SparkSQLEngine \
       --driver-memory 6g \
       --master local[*] \
       ......
   ```
   
   ### Result
   
   | kyuubi.beeline.arrow.enabled | kyuubi.operation.incremental.collect | time 
spent|
   | --- | --- | --- |
   | true | false | 272.178 seconds |
   | true | true | 146.76 seconds |
   | false | true | 607.523 seconds |
   | false | false | 429.374 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-unsubscr...@kyuubi.apache.org

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


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

Reply via email to