spark-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Reynold Xin <r...@databricks.com>
Subject Re: Dataframe from mysql database in pyspark
Date Thu, 16 Apr 2015 13:45:32 GMT
There is a jdbc in the SQLContext scala doc:

https://spark.apache.org/docs/latest/api/scala/index.html#org.apache.spark.sql.SQLContext

Note that this is more of a user list question ....

On Thu, Apr 16, 2015 at 5:11 AM, Suraj Shetiya <surajshetiya@gmail.com>
wrote:

> Hi,
>
> Is there any means of transforming mysql databases into dataframes from
> pyspark.
> Iwas about to find a document that converts mysql database to dataframe in
> spark-shell(http://www.infoobjects.com/spark-sql-jdbcrdd/) using jdbc. I
> had been through the official documentation and can't find any pointers in
> this regard.
>
> --
> Regards,
> Suraj
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message