spark.read.grid(collectionName) doesn't work if the collection isn't written via the DataFrame API

Description

spark.read.grid(collectionName) does not work if the collectionName is a concrete class (POJO) or SpaceDocument

In Scala, there is another API that works: spark.read.grid[ClassName]

In python, you need to use the spark.read.grid(collectionName) API which didn’t support reading data that wasn’t written with the Dataframe API (df.save…)

 

 

Workaround

None

Acceptance Test

GetDataFrameWithStringSpec - in insightedge-core(unit test)

Assignee

Mishel Liberman

Reporter

Mishel Liberman

Labels

None

Priority

Medium

SalesForce Case ID

None

Fix versions

Commitment Version/s

None

Due date

None

Product

InsightEdge

Edition

Open Source

Platform

All
Configure