I’m not sure I fully understand what you’re trying to do. It looks like you’re trying to put an entire DataFrame (a collection of records) into a single value in Ignite? Even if there’s only a single record, you probably want to put the row into Ignite rather than the whole DF.
But I think you’d be better keeping everything in Spark: https://medium.com/@sdarlington/the-trick-to-successfully-integrating-apache-ignite-and-pyspark-890e436d09ba Once you’ve written it to Ignite, you should be able to read/write it using all the regular APIs (including Python). Regards, Stephen > On 22 Jan 2019, at 09:08, Balakumar <balakumar.parameshwa...@citrix.com> > wrote: > > Hi Stephan, Here is the code accountDF = spark.read.parquet(HDFS_ACCOUNT) > self._igCache.put('sfdc_account_parquet', accountDF, value_hint=BinaryObject) > I tried with many object types in value_hint, also tried leaving it as empty, > nothing worked. Error: without value_hint TypeError: object of type > 'DataFrame' has no len() Error: value_hint as BinaryObject AttributeError: > type object 'DataFrame' has no attribute 'type_id' Thanks, Bala > Sent from the Apache Ignite Users mailing list archive at Nabble.com.