Skip to content

Commit

Permalink
ODP-2117: Added additional java imports for pyspark
Browse files Browse the repository at this point in the history
  • Loading branch information
JeffreySmith authored and shubhluck committed Aug 23, 2024
1 parent 212e1e0 commit c3c7f80
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions repl/src/main/resources/fake_shell.py
Original file line number Diff line number Diff line change
Expand Up @@ -589,8 +589,12 @@ def main():
java_import(gateway.jvm, "org.apache.spark.SparkConf")
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.ml.python.*")
java_import(gateway.jvm, "org.apache.spark.mllib.api.python.*")
java_import(gateway.jvm, "org.apache.spark.resource.*")

java_import(gateway.jvm, "org.apache.spark.sql.*")
java_import(gateway.jvm, "org.apache.spark.sql.api.python.*")
java_import(gateway.jvm, "org.apache.spark.sql.hive.*")
java_import(gateway.jvm, "scala.Tuple2")

Expand Down

0 comments on commit c3c7f80

Please sign in to comment.