javadi82 edited a comment on issue #23797: [SPARK-26856][PYSPARK] Python 
support for from_avro and to_avro APIs
URL: https://github.com/apache/spark/pull/23797#issuecomment-578373490
 
 
   Sorry for the newbie question: Which package should I include so that these 
functions are available ?
   
   I tried this:
   ```pyspark --packages org.apache.spark:spark-avro_2.12:2.4.4
   from pyspark.sql.avro.functions import from_avro, to_avro
   ImportError: No module named avro.functions
   
   import pyspark.sql.avro.functions
   Traceback (most recent call last):
     File "<stdin>", line 1, in <module>
   ImportError: No module named avro.functions```

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org
For additional commands, e-mail: reviews-h...@spark.apache.org

Reply via email to