[ 
https://issues.apache.org/jira/browse/SPARK-8008?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14584777#comment-14584777
 ] 

Rene Treffer commented on SPARK-8008:
-------------------------------------

Well, turns out I was wrong, union does not work as expected. I'm also running 
into very strange problems on load.

I'm now doing a load on a per-day basis, storing it to parquet files which in 
turn requires SPARK-4176 and the SPARK-7897 improvement that [~rxin] just 
merged.
I'm simply using a folder structure that should work for loading (extra field 
serialized in the path).

> JDBC data source can overload the external database system due to high 
> concurrency
> ----------------------------------------------------------------------------------
>
>                 Key: SPARK-8008
>                 URL: https://issues.apache.org/jira/browse/SPARK-8008
>             Project: Spark
>          Issue Type: Bug
>          Components: SQL
>            Reporter: Rene Treffer
>
> Spark tries to load as many partitions as possible in parallel, which can in 
> turn overload the database although it would be possible to load all 
> partitions given a lower concurrency.
> It would be nice to either limit the maximum concurrency or to at least warn 
> about this behavior.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to