sparkRHive.init-deprecated: (Deprecated) Initialize a new HiveContext

Description Usage Arguments Details Note See Also Examples

Description

This function creates a HiveContext from an existing JavaSparkContext

Usage

1

Arguments

jsc

The existing JavaSparkContext created with SparkR.init()

Details

Starting SparkR 2.0, a SparkSession is initialized and returned instead. This API is deprecated and kept for backward compatibility only.

Note

sparkRHive.init since 1.4.0

See Also

sparkR.session

Examples

1
2
3
4
5
## Not run: 
sc <- sparkR.init()
sqlContext <- sparkRHive.init(sc)

## End(Not run)

SparkR documentation built on June 3, 2021, 5:05 p.m.