srowen commented on a change in pull request #25895: [SPARK-28816][DOC][SQL] 
Document ADD JAR statement in SQL Reference
URL: https://github.com/apache/spark/pull/25895#discussion_r332024789
 
 

 ##########
 File path: docs/sql-ref-syntax-aux-resource-mgmt-add-jar.md
 ##########
 @@ -19,4 +19,31 @@ license: |
   limitations under the License.
 ---
 
-**This page is under construction**
+### Description
+`ADD JAR` adds a file, JAR or archive to the list of resources. The added file 
can be listed using [LIST JAR](sql-ref-syntax-aux-resource-mgmt-list-jar.html).
+
+### Syntax
+{% highlight sql %}
+ADD JAR file_name
+{% endhighlight %}
+
+### Parameters
+<dl>
+ <dt><code><em>file_name</em></code></dt>
+ <dd>The name of the file, JAR or archive to be added. It could be either on a 
local file system or a distributed file system.</dd>
 
 Review comment:
   'archive' here means a .zip archive only, right, and only because a JAR file 
is a .zip file? if all of these things are just put on the classpath, I'd 
hesitate to say you can add a general 'archive' unless it has a special 
function beyond just treating it as a JAR file (and I don't know if it does). 
If it's just .zip files, I'd say "ZIP archive"

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

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

Reply via email to