cloud-fan commented on issue #26754: [SPARK-30115][SQL] Improve limit only query on datasource table URL: https://github.com/apache/spark/pull/26754#issuecomment-561625502 A hint: AFAIK Hive metastore allows you to fetch up to N partitions, so that we can save time on partitions fetching if there is a limit. I'm not worried too much about file scan. Spark optimizes LIMIT by `SparkPlan.executeTake`, so we won't scan all the files.
---------------------------------------------------------------- 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] With regards, Apache Git Services --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
