Skip to content

Commit

Permalink
python API for dataframe
Browse files Browse the repository at this point in the history
  • Loading branch information
Davies Liu authored and rxin committed Jan 27, 2015
1 parent 1e5e454 commit 4ae51ea
Show file tree
Hide file tree
Showing 5 changed files with 648 additions and 318 deletions.
7 changes: 3 additions & 4 deletions python/pyspark/java_gateway.py
Original file line number Diff line number Diff line change
Expand Up @@ -111,10 +111,9 @@ def run(self):
java_import(gateway.jvm, "org.apache.spark.api.java.*")
java_import(gateway.jvm, "org.apache.spark.api.python.*")
java_import(gateway.jvm, "org.apache.spark.mllib.api.python.*")
java_import(gateway.jvm, "org.apache.spark.sql.SQLContext")
java_import(gateway.jvm, "org.apache.spark.sql.hive.HiveContext")
java_import(gateway.jvm, "org.apache.spark.sql.hive.LocalHiveContext")
java_import(gateway.jvm, "org.apache.spark.sql.hive.TestHiveContext")
# TODO(davies): move into sql
java_import(gateway.jvm, "org.apache.spark.sql.*")
java_import(gateway.jvm, "org.apache.spark.sql.hive.*")
java_import(gateway.jvm, "scala.Tuple2")

return gateway
Loading

0 comments on commit 4ae51ea

Please sign in to comment.