Last active
August 29, 2015 14:24
-
-
Save rustyrazorblade/959ad9473df74cea887b to your computer and use it in GitHub Desktop.
pyspark 1.4 with dataframes first gist on the planet
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
from pyspark.sql import SQLContext | |
sql = SQLContext(sc) | |
apd = sql.read.format("org.apache.spark.sql.cassandra").load(keyspace="labor", table="average_price_data") |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment