Looking for Аналіз та обробка великих данних test answers and solutions? Browse our comprehensive collection of verified answers for Аналіз та обробка великих данних at veem.nltu.edu.ua.
Get instant access to accurate answers and detailed explanations for your course questions. Our community-driven platform helps students succeed!
Яка основна особливість механізму Adaptive Query Execution (AQE) відрізняє його від класичного планувальника Catalyst?
rdd = sc.parallelize([1, 2])res = rdd.flatMap(lambda x: [x, x, x]).collect()
Яким буде результат
res?rdd = sc.parallelize(['cat', 'horse', 'elephant'])res = rdd.map(lambda x: len(x)).filter(lambda x: x < 6).collect()
Яким буде результат
res?rdd = sc.parallelize([1, 1, 2, 2, 3])res = rdd.map(lambda x: x + 1).distinct().count()
Яким буде результат
res?data = [('A', 1), ('A', 1), ('B', 1)] df = spark.createDataFrame(data, ['k', 'v'])
res = df.distinct().count()
Яким буде результат
res?