Question: I am currently reading in a table from hbase, how would i convert this into a dataframe? hBaseRDD.toDF() wasnt working properly(this is using spark scala).

I am currently reading in a table from hbase, how would i convert this into a dataframe? hBaseRDD.toDF() wasnt working properly(this is using spark scala). Thanks! val hBaseRDD = sc.newAPIHadoopRDD(conf, classOf[TableInputFormat], classOf[ImmutableBytesWritable], classOf[Result]) hBaseRDD 

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!