aboutsummaryrefslogtreecommitdiff
path: root/conf
diff options
context:
space:
mode:
authorsureshthalamati <suresh.thalamati@gmail.com>2016-01-05 17:48:05 -0800
committerMichael Armbrust <michael@databricks.com>2016-01-05 17:48:05 -0800
commit0d42292f6a2dbe626e8f6a50e6c61dd79533f235 (patch)
treeabe11b66b3b07bc74b397021a1b8c93b03a81246 /conf
parentdf8bd97520fc67dad95141c5a8cf2e0d5332e693 (diff)
downloadspark-0d42292f6a2dbe626e8f6a50e6c61dd79533f235.tar.gz
spark-0d42292f6a2dbe626e8f6a50e6c61dd79533f235.tar.bz2
spark-0d42292f6a2dbe626e8f6a50e6c61dd79533f235.zip
[SPARK-12504][SQL] Masking credentials in the sql plan explain output for JDBC data sources.
This fix masks JDBC credentials in the explain output. URL patterns to specify credential seems to be vary between different databases. Added a new method to dialect to mask the credentials according to the database specific URL pattern. While adding tests I noticed explain output includes array variable for partitions ([Lorg.apache.spark.Partition;3ff74546,). Modified the code to include the first, and last partition information. Author: sureshthalamati <suresh.thalamati@gmail.com> Closes #10452 from sureshthalamati/mask_jdbc_credentials_spark-12504.
Diffstat (limited to 'conf')
0 files changed, 0 insertions, 0 deletions