Load data to where? To spark? If you are referring to spark, then there are
some differences the way the connector is implemented. When you use spark,
the most important thing that you get is the parallelism (depending on the
number of partitions). If you compare it with a native java driver then you
will find it slower compared to spark.

Thanks
Best Regards

On Mon, Aug 10, 2015 at 4:31 PM, 李铖 <lidali...@gmail.com> wrote:

> What is the differents of loading data using jdbc and loading  data using
> spard data source api?
> or differents of loading data using mongo-hadoop and loading data using
> native java driver?
>
> Which way is better?
>
>

Reply via email to