From c1de5701467ccb6e85d603d306f6f486a0bb64ac Mon Sep 17 00:00:00 2001 From: jinhaichen Date: Mon, 11 Sep 2023 14:58:52 +0800 Subject: [PATCH] add jvm import org.apache.spark.sql.api.python.* --- repl/src/main/resources/fake_shell.py | 1 + 1 file changed, 1 insertion(+) diff --git a/repl/src/main/resources/fake_shell.py b/repl/src/main/resources/fake_shell.py index b5b284d8f..96e7337b4 100644 --- a/repl/src/main/resources/fake_shell.py +++ b/repl/src/main/resources/fake_shell.py @@ -591,6 +591,7 @@ def main(): 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.*") + 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")