You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@spark.apache.org by gu...@apache.org on 2021/08/25 01:05:23 UTC

[spark] branch master updated: [SPARK-35236][SQL][DOCS][FOLLOWUP] Mention ARCHIVE as an acceptable resource type for CREATE FUNCTION statement

This is an automated email from the ASF dual-hosted git repository.

gurwls223 pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/spark.git


The following commit(s) were added to refs/heads/master by this push:
     new bd0a495  [SPARK-35236][SQL][DOCS][FOLLOWUP] Mention ARCHIVE as an acceptable resource type for CREATE FUNCTION statement
bd0a495 is described below

commit bd0a4950ae300762596509004249f79100f5e685
Author: Kousuke Saruta <sa...@oss.nttdata.com>
AuthorDate: Wed Aug 25 10:04:53 2021 +0900

    [SPARK-35236][SQL][DOCS][FOLLOWUP] Mention ARCHIVE as an acceptable resource type for CREATE FUNCTION statement
    
    ### What changes were proposed in this pull request?
    
    This PR modifies `sql-ref-syntax-ddl-create-function.md` to mention `ARCHIVE` as an acceptable resource type for `CREATE FUNCTION` statement.
    `ARCHIVE` is acceptable as of SPARK-35236 (#32359).
    
    ### Why are the changes needed?
    
    To maintain the document.
    
    ### Does this PR introduce _any_ user-facing change?
    
    No.
    
    ### How was this patch tested?
    
    `SKIP_API=1 bundle exec jekyll build`
    ![create-function-archive](https://user-images.githubusercontent.com/4736016/130630637-dcddfd8c-543b-4d21-997c-d2deaf917a4f.png)
    
    Closes #33823 from sarutak/create-function-archive.
    
    Authored-by: Kousuke Saruta <sa...@oss.nttdata.com>
    Signed-off-by: Hyukjin Kwon <gu...@apache.org>
---
 docs/sql-ref-syntax-ddl-create-function.md | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/docs/sql-ref-syntax-ddl-create-function.md b/docs/sql-ref-syntax-ddl-create-function.md
index dfa4f4f..db54a4b 100644
--- a/docs/sql-ref-syntax-ddl-create-function.md
+++ b/docs/sql-ref-syntax-ddl-create-function.md
@@ -81,7 +81,7 @@ CREATE [ OR REPLACE ] [ TEMPORARY ] FUNCTION [ IF NOT EXISTS ]
     Specifies the list of resources that contain the implementation of the function
     along with its dependencies.
 
-    **Syntax:** `USING { { (JAR | FILE ) resource_uri } , ... }`
+    **Syntax:** `USING { { (JAR | FILE | ARCHIVE) resource_uri } , ... }`
 
 ### Examples
 

---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@spark.apache.org
For additional commands, e-mail: commits-help@spark.apache.org