Closed wuyanxin closed 2 years ago
Thank you @wuyanxin for the question. @Nicole00 could you help with this? Could we do something like this?
from py4j.java_gateway import java_import
java_import(sc._gateway.jvm,"org.foo.module.Foo")
func = sc._gateway.jvm.Foo()
func.fooMethod()
Checked with @Nicole00 that we didn't provide the PySpark interface for now. I Labeled it as an enhancement. Also, not sure if the py4j mitigation could help a little bit before official support.
do not support.
是否有像 elasticsearch 那样的方法来导入到 nebula