You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@flink.apache.org by ja...@apache.org on 2022/09/20 01:45:25 UTC

[flink] 13/25: [FLINK-29025][docs] add `add jar` page for Hive dialect

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

jark pushed a commit to branch release-1.16
in repository https://gitbox.apache.org/repos/asf/flink.git

commit a432e0af01e06d05647c6057b9582634904aa620
Author: luoyuxia <lu...@alumni.sjtu.edu.cn>
AuthorDate: Mon Aug 29 15:34:17 2022 +0800

    [FLINK-29025][docs] add `add jar` page for Hive dialect
---
 .../dev/table/hiveCompatibility/hiveDialect/add.md | 54 ++++++++++++++++++++++
 .../dev/table/hiveCompatibility/hiveDialect/add.md | 54 ++++++++++++++++++++++
 2 files changed, 108 insertions(+)

diff --git a/docs/content.zh/docs/dev/table/hiveCompatibility/hiveDialect/add.md b/docs/content.zh/docs/dev/table/hiveCompatibility/hiveDialect/add.md
new file mode 100644
index 00000000000..bae85d4464e
--- /dev/null
+++ b/docs/content.zh/docs/dev/table/hiveCompatibility/hiveDialect/add.md
@@ -0,0 +1,54 @@
+---
+title: "ADD Statements"
+weight: 7
+type: docs
+aliases:
+- /dev/table/hiveCompatibility/hiveDialect/create.html
+---
+<!--
+Licensed to the Apache Software Foundation (ASF) under one
+or more contributor license agreements.  See the NOTICE file
+distributed with this work for additional information
+regarding copyright ownership.  The ASF licenses this file
+to you under the Apache License, Version 2.0 (the
+"License"); you may not use this file except in compliance
+with the License.  You may obtain a copy of the License at
+  http://www.apache.org/licenses/LICENSE-2.0
+Unless required by applicable law or agreed to in writing,
+software distributed under the License is distributed on an
+"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+KIND, either express or implied.  See the License for the
+specific language governing permissions and limitations
+under the License.
+-->
+
+# ADD Statements
+
+With Hive dialect, the following `ADD` statements are supported for now:
+- ADD JAR
+
+## ADD JAR
+
+### Description
+
+`ADD JAR` statement is used to add user jars into the classpath.
+Add multiple jars file in single `ADD JAR` statement is not supported.
+
+
+### Syntax
+
+```sql
+ADD JAR filename;
+```
+
+### Parameters
+
+- filename
+
+  The name of the JAR file to be added. It could be either on a local file or distributed file system.
+
+### Examples
+
+```sql
+ADD JAR t.jar;
+```
diff --git a/docs/content/docs/dev/table/hiveCompatibility/hiveDialect/add.md b/docs/content/docs/dev/table/hiveCompatibility/hiveDialect/add.md
new file mode 100644
index 00000000000..bae85d4464e
--- /dev/null
+++ b/docs/content/docs/dev/table/hiveCompatibility/hiveDialect/add.md
@@ -0,0 +1,54 @@
+---
+title: "ADD Statements"
+weight: 7
+type: docs
+aliases:
+- /dev/table/hiveCompatibility/hiveDialect/create.html
+---
+<!--
+Licensed to the Apache Software Foundation (ASF) under one
+or more contributor license agreements.  See the NOTICE file
+distributed with this work for additional information
+regarding copyright ownership.  The ASF licenses this file
+to you under the Apache License, Version 2.0 (the
+"License"); you may not use this file except in compliance
+with the License.  You may obtain a copy of the License at
+  http://www.apache.org/licenses/LICENSE-2.0
+Unless required by applicable law or agreed to in writing,
+software distributed under the License is distributed on an
+"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+KIND, either express or implied.  See the License for the
+specific language governing permissions and limitations
+under the License.
+-->
+
+# ADD Statements
+
+With Hive dialect, the following `ADD` statements are supported for now:
+- ADD JAR
+
+## ADD JAR
+
+### Description
+
+`ADD JAR` statement is used to add user jars into the classpath.
+Add multiple jars file in single `ADD JAR` statement is not supported.
+
+
+### Syntax
+
+```sql
+ADD JAR filename;
+```
+
+### Parameters
+
+- filename
+
+  The name of the JAR file to be added. It could be either on a local file or distributed file system.
+
+### Examples
+
+```sql
+ADD JAR t.jar;
+```