Skip to content

Commit 61db81b

Browse files
committed
Address PR comments
1 parent c63b605 commit 61db81b

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

core/src/main/scala/org/apache/spark/util/DependencyUtils.scala

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,8 @@ private[spark] object DependencyUtils extends Logging {
6060
* @return Tuple value of parameter `transitive` and `exclude` value.
6161
*
6262
* 1. transitive: whether to download dependency jar of Ivy URI, default value is true
63-
* and this parameter value is case-insensitive. Invalid value will be treat as false.
63+
* and this parameter value is case-insensitive. This mimics Hive's behaviour for
64+
* parsing the transitive parameter. Invalid value will be treat as false.
6465
* Example: Input: exclude=org.mortbay.jetty:jetty&transitive=true
6566
* Output: true
6667
*

docs/sql-ref-syntax-aux-resource-mgmt-add-jar.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ ADD JAR file_name
3636
The name of the JAR file to be added. It could be either on a local file system or a distributed file system or an Ivy URI.
3737
Apache Ivy is a popular dependency manager focusing on flexibility and simplicity. Now we support two parameter in URI query string:
3838

39-
* transitive: whether to download dependent jars related to your ivy URL. The parameter name is case-sensitive, parameter value is case-insensitive and only take last one if multiple transitive parameters are specified.
39+
* transitive: whether to download dependent jars related to your ivy URL. The parameter name is case-sensitive, and the parameter value is case-insensitive. If multiple transitive parameters are specified, the last one wins.
4040
* exclude: exclusion list during downloading Ivy URI jar and dependent jars.
4141

4242
User can write Ivy URI such as:

0 commit comments

Comments
 (0)