Description Usage Arguments Details Note See Also Examples
This function creates a HiveContext from an existing JavaSparkContext
1 | sparkRHive.init(jsc = NULL)
|
jsc |
The existing JavaSparkContext created with SparkR.init() |
Starting SparkR 2.0, a SparkSession is initialized and returned instead. This API is deprecated and kept for backward compatibility only.
sparkRHive.init since 1.4.0
sparkR.session
1 2 3 4 5 | ## Not run:
sc <- sparkR.init()
sqlContext <- sparkRHive.init(sc)
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.