-
Notifications
You must be signed in to change notification settings - Fork 22
Don't work with pandas udf #6
Comments
the |
in the main, I have the lines:
But still get the |
Have you renamed the pipelines folder, or moved the location relative to main? What version of Python are you using?
From: amoyrand ***@***.***>
Sent: 31 March 2021 08:33
To: DataThirstLtd/Databricks-Connect-PySpark ***@***.***>
Cc: Simon D'Morias ***@***.***>; Comment ***@***.***>
Subject: Re: [DataThirstLtd/Databricks-Connect-PySpark] Don't work with pandas udf (#6)
in the main, I have the lines:
dirname = os.path.abspath(os.path.dirname(__file__))
sys.path.insert(0, (os.path.join(dirname, 'pipelines')))
But still get the ModuleNotFoundError: No module named 'pipelines' error...
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub<#6 (comment)>, or unsubscribe<https://github.com/notifications/unsubscribe-auth/ADBMOSAXIIG4AO4KLHS6SJDTGLFZ3ANCNFSM42CMRHCQ>.
|
Hello @simondmorias . I'm now facing another problem: I'm using sedona with databricks. but when running with databricks-connect, i'm getting a
I guess that the jars are not well imported in local. Did you ever experienced this? do you know how to import local jars with databricks-connect ? Thank you |
On your local machine run |
Hello.
here I can describe the UDF st_point but when trying to use it, it fails with:
full log here: https://filebin.net/yzy0tn58myzso8l4/log.txt?t=cntz46u4 Any idea what happens here ? Thanks a lot for your help |
I would post on StackOverflow - that is more of a general Spark problem rather than this container. |
@amoyrand how did you solve the original problem where pipelines were not detected ? |
Hello
I'm trying to replicate your example in my own project.
But I have an issue with python udf: always run into this error
ModuleNotFoundError: No module named 'pipelines'
I simply changed your code as is:
amazon.py:
and it gives me this error:
Any idea how to solve this ?
The text was updated successfully, but these errors were encountered: