This is an automated email from the ASF dual-hosted git repository.
lzljs3620320 pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-paimon.git
The following commit(s) were added to refs/heads/master by this push:
new 4304363b8 [doc] Supplement the tag function description of the hive
engine (#1698)
4304363b8 is described below
commit 4304363b843ea6a0d9df56671a7ff5c4ae180a1d
Author: monster <[email protected]>
AuthorDate: Tue Aug 1 15:28:09 2023 +0800
[doc] Supplement the tag function description of the hive engine (#1698)
---
docs/content/how-to/querying-tables.md | 21 +++++++++++++++++++++
1 file changed, 21 insertions(+)
diff --git a/docs/content/how-to/querying-tables.md
b/docs/content/how-to/querying-tables.md
index ccd497c8a..8c148ce1d 100644
--- a/docs/content/how-to/querying-tables.md
+++ b/docs/content/how-to/querying-tables.md
@@ -117,10 +117,31 @@ SELECT * FROM t;
{{< /tab >}}
{{< tab "Hive" >}}
+
+Hive requires adding the following configuration parameters to the
hive-site.xml file:
+```xml
+<!--This parameter is used to configure the whitelist of permissible
configuration items allowed for use in SQL standard authorization mode.-->
+<property>
+ <name>hive.security.authorization.sqlstd.confwhitelist</name>
+ <value>mapred.*|hive.*|mapreduce.*|spark.*</value>
+</property>
+
+<!--This parameter is an additional configuration for
hive.security.authorization.sqlstd.confwhitelist. It allows you to add other
permissible configuration items to the existing whitelist.-->
+<property>
+ <name>hive.security.authorization.sqlstd.confwhitelist.append</name>
+ <value>mapred.*|hive.*|mapreduce.*|spark.*</value>
+</property>
+```
+
```sql
SET paimon.scan.timestamp-millis=1679486589444;
SELECT * FROM t;
SET paimon.scan.timestamp-millis=null;
+
+-- read tag 'my-tag'
+set paimon.scan.tag-name=my-tag:
+SELECT * FROM t;
+set paimon.scan.tag-name=null;
```
{{< /tab >}}