FRosner / spawncamping-dds

Data-Driven Spark allows quick data exploration based on Apache Spark.
Other
28 stars 15 forks source link

SparkR Integration Prototype #271

Closed ghost closed 8 years ago

ghost commented 8 years ago

Problem DDS should be integrated with SparkR so that that useR's can use DDS functionality from the SparkR shell.

Literature

Possible Strategy i. Write glue code functions for DDS which take an UUID and get the corresponding table.

ii. Create a R package which

iii. For each visualization function in DDS: Provide a R function (e.g., bar() for bar()), which

FRosner commented 8 years ago

I'm afraid that you will not be able to call de.frosner.dds.core.DDS.bar, because it expects a Scala data frame. You would need to write glue code in Scala for each of these functions that takes the name of the temp table (which is the UUID I guess?).

Also you should remove the temp table afterwards.

ghost commented 8 years ago

Thanks, updated the initial issue posting. Let's try this ...

ghost commented 8 years ago

The longer I think about this, the less sense it makes. I think it is much easier and cleaner to just add some wrapper functions in R around the existing and evolving SparkR functionality if one would have an easy way to visualize results in R.

FRosner commented 8 years ago

I think it is much cleaner to enable a generic way for calling Spark packages from PySpark and SparkR

ghost commented 8 years ago

I agree and googled again but something like this doesn't exist atm. As a senior scala developer, you are welcome to submit a proposal/issue. :) If you agree, I will close this issue for now.

FRosner commented 8 years ago

:+1:

On 22 Dec 2015, at 08:45, Basil Komboz notifications@github.com wrote:

I agree and googled again but something like this doesn't exist atm. As a senior scala developer, you welcome to submit a proposal/issue. :) If you agree, I will close this issue for now.

— Reply to this email directly or view it on GitHub https://github.com/FRosner/spawncamping-dds/issues/271#issuecomment-166543324.