如何理解sparksql中的分区和分发?

时间:2017-12-07 02:44:03

标签: apache-spark-sql

我无法弄清楚distribution中定义的org.apache.spark.sql.catalyst.plans.physical.partitioning.scalalet numbers = [10,7,4,6,3,77,232,56,99]; let minNum = numbers[0]; let maxNum = numbers[0]; numbers.forEach(function(number) { if(number < minNum ) {minNum = number}; if(number > maxNum ) {maxNum = number}; }) console.log(minNum) // gives 3 console.log(maxNum) // gives 232之间的区别是什么,有人可以告诉我一些例子来解释它们的区别吗?谢谢!

0 个答案:

没有答案