[ 
https://issues.apache.org/jira/browse/SPARK-21280?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16072734#comment-16072734
 ] 

Sean Owen commented on SPARK-21280:
-----------------------------------

Looking at the class, I don't think it was ever intended to be used by end-user 
code, right? it's also not really a bean; its primary role is not merely to 
carry properties. So I don't think it's actually a short hop to make it a bean.

However, you don't need to have a Java bean to use an Encoder. Is that all 
you're trying to do ? this is a Serializable class so use 
Encoders.javaSerialization

> org.apache.spark.util.sketch.BloomFilter not bean compliant
> -----------------------------------------------------------
>
>                 Key: SPARK-21280
>                 URL: https://issues.apache.org/jira/browse/SPARK-21280
>             Project: Spark
>          Issue Type: Improvement
>          Components: Java API
>    Affects Versions: 2.1.1
>            Reporter: Eran Moscovici
>            Priority: Minor
>
> Trying to work with Dataset<BloomFilter> fails in runtime with the 'not bean 
> compliant' exception.
> This means that BloomFilter objects cannot be used as values to be handled 
> within a Spark Dataset or saved (for example as a parquet file).
> One would expect an object within the Spark ecosystem 
> ('org.apache.spark.util.sketch.BloomFilter') to be able to do that.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

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

Reply via email to