Created
October 10, 2016 10:34
-
-
Save vidma/1da51beddd6e2503420adebace3e2975 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import org.apache.spark.sql.{DataFrame, SQLContext} | |
import org.apache.spark.sql.hive.HiveContext | |
val sqlCtx: SQLContext = new HiveContext(sc) | |
sqlCtx.sql("select 1") |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment