[ https://issues.apache.org/jira/browse/SPARK-26870?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16767843#comment-16767843
]
Hyukjin Kwon commented on SPARK-26870:
--------------------------------------
Yup, I made a PR to fix. Please take a look for that when you're available.
> Java : Avro function to_avro and from_avro is undefined
> -------------------------------------------------------
>
> Key: SPARK-26870
> URL: https://issues.apache.org/jira/browse/SPARK-26870
> Project: Spark
> Issue Type: Bug
> Components: Java API, SQL
> Affects Versions: 2.4.0
> Reporter: Amit Baghel
> Priority: Major
>
> As given at *Apache Avro Data Source Guide* [to_avro() and from_avro() |https://spark.apache.org/docs/latest/sql-data-sources-avro.html#to_avro-and-from_avro],
I tried this functions in Java code but it gives compiler error as "The method to_avro(Column)
is undefined".
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@spark.apache.org
For additional commands, e-mail: issues-help@spark.apache.org
|