Akmal Chaudhri commented on IGNITE-7655:

[~vkulichenko], I am trying to take the existing Scala code example:


and rewrite it for Java. I am blocked here for the moment:
val igniteDF = spark.read
.format(FORMAT_IGNITE) //Data source type.
.option(OPTION_TABLE, "person") //Table to read.
.option(OPTION_CONFIG_FILE, CONFIG) //Ignite config.
.filter(col("id") >= 2) //Filter clause.
.filter(col("name") like "%M%") //Another filter clause.
The Java code to create the tables works ok. However, I don't know Scala, so 
trying to do a conversion from one language to another is difficult.

> Spark Data Frames: saving data frames into Ignite needs to be documented
> ------------------------------------------------------------------------
>                 Key: IGNITE-7655
>                 URL: https://issues.apache.org/jira/browse/IGNITE-7655
>             Project: Ignite
>          Issue Type: Bug
>          Components: documentation, spark
>            Reporter: Nikolay Izhikov
>            Assignee: Akmal Chaudhri
>            Priority: Major
>             Fix For: 2.4
> Once IGNITE-7337 is ready for merge.
> This new feature of Ignite needs to be documented.

This message was sent by Atlassian JIRA

Reply via email to