AnsweredAssumed Answered

Details of MapR-DB OJAI Connector for Spark

Question asked by rbukarev on Jun 17, 2018
Latest reply on Jul 15, 2018 by rbukarev

1. I noticed that the example for using MapR-DB OJAI Connector for Spark discusses the Streaming mode, but doesn't touch Structured Streaming. With the latter being announced production-ready now, is there any way to use that Connector, too?


2. The standard doco doesn't mention that, but I guess the method "MapRDBSpark.newDocument(x)" expects "x" to be a valid JSON. Could someone confirm that? Provided that I'm getting streaming data that is not always JSON, what should I do? Currently I'm thinking of wrapping that data into a kind of JSON wrapper, but that seems to be an unnecessary burden.