You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Hyukjin Kwon (JIRA)" <ji...@apache.org> on 2019/02/15 02:26:00 UTC

[jira] [Resolved] (SPARK-26870) Java : Avro function to_avro and from_avro is undefined

     [ https://issues.apache.org/jira/browse/SPARK-26870?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Hyukjin Kwon resolved SPARK-26870.
----------------------------------
       Resolution: Fixed
    Fix Version/s: 3.0.0

Issue resolved by pull request 23784
[https://github.com/apache/spark/pull/23784]

> 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
>            Assignee: Hyukjin Kwon
>            Priority: Major
>             Fix For: 3.0.0
>
>
> 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