-
Hello,
I tried the following but that gives an error like below. Guessing the pyspark dataframe needs to convert to scala dataframe?
|
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
Hi, sorry. I don't know myself.
You may be right. Seems like using the tem view could work as described in the following page: If you figure it out, let us know nad we can add the proper solution to the examples. |
Beta Was this translation helpful? Give feedback.
-
I figured it out. This will work. Create a Python wrapper method
|
Beta Was this translation helpful? Give feedback.
I figured it out. This will work.
Looks like to convert from python dataframe to java dataframe you have to do df._jdf
LINK
Create a Python wrapper method
Similarly create other Python wrapper methods for the toAvroSchema variations