Support Questions
Find answers, ask questions, and share your expertise
Announcements
Alert: Welcome to the Unified Cloudera Community. Former HCC members be sure to read and learn how to activate your account here.

RStudio connected with sparklyr

Highlighted

RStudio connected with sparklyr

New Contributor

 

 

  Hi, this is my first question in this community, I was looking for the isue in diferent forums with out luck.

 

Im already connect to HW from RStudio...

This is the basic script:

library(sparklyr)

sc <- spark_connect(master = "local", config = conf)

 

**This connect to default  database schema**

"default"

  I need to connect a different schema in hive from Rstudio

 

"NewSchema"

Tables

 

Please can anybody help me to set a diferent database schema from the sc?

 

Thank You.

 

Don't have an account?
Coming from Hortonworks? Activate your account here