7 From Schema RDD data can be cache by which one of the given choices

0 votes
7)From Schema RDD, data can be cache by which one of the given choices?

a)cacheTable("tableName")

b)Hive SQL Statement CACHE TABLE tableName

c)cache method on RDDs

d)we cannot cache data
Nov 22, 2020 in Apache Spark by ritu
• 980 points
93 views

1 answer to this question.

0 votes

Hi, @Ritu,

According to the official documentation of Spark 1.2, Spark SQL can cache tables using an in-memory columnar format by calling sqlContext.cacheTable("tableName").

answered Nov 23, 2020 by Gitika
• 65,870 points

Related Questions In Apache Spark

0 votes
1 answer

4)Spark streaming converts streaming data into DStreams. which one of the given statements about DStreams is True?

Hi@ritu, Spark DStream (Discretized Stream) is the basic ...READ MORE

answered Nov 23, 2020 in Apache Spark by MD
• 95,060 points
98 views
0 votes
1 answer

12)Which one of the given flows correctly describe the Spark Streaming Architecture?

Hi@ritu, You need to learn the Architecture of ...READ MORE

answered Nov 23, 2020 in Apache Spark by MD
• 95,060 points
92 views
0 votes
0 answers

17)from the given choices, identify the value returned by $"whatever"?

17)from the given choices, identify the value ...READ MORE

Nov 24, 2020 in Apache Spark by ritu
• 980 points
64 views
0 votes
1 answer

How can I compare the elements of the RDD using MapReduce?

You have to use the comparison operator ...READ MORE

answered May 24, 2018 in Apache Spark by Shubham
• 13,480 points
1,551 views
0 votes
2 answers

5)Using which one of the given choices will you create an RDD with specific partitioning?

Hi, @Ritu, option b for you, as Hash Partitioning ...READ MORE

answered Nov 23, 2020 in Apache Spark by Gitika
• 65,870 points
120 views
0 votes
1 answer