GitHub user MaxGekk opened a pull request:
https://github.com/apache/spark/pull/21771
[SPARK-24807][SQL] Adding files/jars twice: output a warning and add a note
## What changes were proposed in this pull request?
In the PR, I propose to output an warning if the `addFile()` or `addJar()`
methods are callled more than once for the same path. Currently, overwriting of
already added files is not supported. New comments and warning are reflected
the existing behaviour.
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/MaxGekk/spark-1 warning-on-adding-file
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/spark/pull/21771.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #21771
----
commit 0942fd26e47d685280a85bff465d5ee01708f608
Author: Maxim Gekk <maxim.gekk@...>
Date: 2018-07-14T14:50:17Z
Output warning for second call of addFile/addJar
----
---
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]