From beabf91ea1683b4c660ff689467da04cfe907e40 Mon Sep 17 00:00:00 2001 From: Kousuke Saruta Date: Wed, 25 Aug 2021 10:04:53 +0900 Subject: [PATCH] [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 Signed-off-by: Hyukjin Kwon (cherry picked from commit bd0a4950ae300762596509004249f79100f5e685) Signed-off-by: Hyukjin Kwon --- 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 dfa4f4f812..db54a4bd5e 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