From 52d25c7cf17123ae4778c516519bc9b295540bcf Mon Sep 17 00:00:00 2001 From: Cheng Pan Date: Tue, 5 Dec 2023 21:56:24 +0800 Subject: [PATCH] [KYUUBI #5819] [DOCS] Fix rst syntax of missing blank line after code-block MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit # :mag: Description ## Issue References ๐Ÿ”— This pull request fixes a rst syntax of missing blank line after code-block ## Describe Your Solution ๐Ÿ”ง Add a blank line. ## Types of changes :bookmark: - [ ] Bugfix (non-breaking change which fixes an issue) - [ ] New feature (non-breaking change which adds functionality) - [ ] Breaking change (fix or feature that would cause existing functionality to change) ## Test Plan ๐Ÿงช #### Behavior Without This Pull Request :coffin: image #### Behavior With This Pull Request :tada: image #### Related Unit Tests --- # Checklists ## ๐Ÿ“ Author Self Checklist - [x] My code follows the [style guidelines](https://kyuubi.readthedocs.io/en/master/contributing/code/style.html) of this project - [x] I have performed a self-review - [ ] I have commented my code, particularly in hard-to-understand areas - [x] I have made corresponding changes to the documentation - [x] My changes generate no new warnings - [ ] I have added tests that prove my fix is effective or that my feature works - [x] New and existing unit tests pass locally with my changes - [x] This patch was not authored or co-authored using [Generative Tooling](https://www.apache.org/legal/generative-tooling.html) ## ๐Ÿ“ Committer Pre-Merge Checklist - [ ] Pull request title is okay. - [ ] No license issues. - [ ] Milestone correctly set? - [ ] Test coverage is ok - [ ] Assignees are selected. - [ ] Minimum number of approvals - [ ] No changes are requested **Be nice. Be informative.** Closes #5819 from pan3793/hudi-doc. Closes #5819 45149c5ac [Cheng Pan] fix 3236c9692 [Cheng Pan] [DOCS] Fix rst syntax in Hudi connector page Authored-by: Cheng Pan Signed-off-by: Cheng Pan --- docs/connector/spark/delta_lake_with_azure_blob.rst | 4 ++++ docs/connector/spark/hudi.rst | 1 + 2 files changed, 5 insertions(+) diff --git a/docs/connector/spark/delta_lake_with_azure_blob.rst b/docs/connector/spark/delta_lake_with_azure_blob.rst index 1d7cab048b6..bdca3f5dfee 100644 --- a/docs/connector/spark/delta_lake_with_azure_blob.rst +++ b/docs/connector/spark/delta_lake_with_azure_blob.rst @@ -171,6 +171,7 @@ Enter the ./kyuubi/conf directory Add the following content: .. code-block:: properties + spark.master spark://:7077 kyuubi.authentication NONE kyuubi.frontend.bind.host @@ -220,6 +221,7 @@ Create Table ************ .. code-block:: sql + -- Create or replace table with path CREATE OR REPLACE TABLE delta.`wasbs://1000@azure_account.blob.core.windows.net/alexDemo20211129` ( date DATE, @@ -276,6 +278,7 @@ Overwrite Mode Result: .. code-block:: text + +-------------+----------+------------+---------------+ | date | eventId | eventType | data | +-------------+----------+------------+---------------+ @@ -287,6 +290,7 @@ Delete Table Data ***************** .. code-block:: sql + DELETE FROM delta.`wasbs://1000@azure_account.blob.core.windows.net/alexDemo20211129` WHERE eventId = 002; diff --git a/docs/connector/spark/hudi.rst b/docs/connector/spark/hudi.rst index 045e75146f0..3ccd1f93b18 100644 --- a/docs/connector/spark/hudi.rst +++ b/docs/connector/spark/hudi.rst @@ -60,6 +60,7 @@ Configurations To activate functionality of Hudi, we can set the following configurations: .. code-block:: properties + # Spark 3.2 spark.serializer=org.apache.spark.serializer.KryoSerializer spark.sql.extensions=org.apache.spark.sql.hudi.HoodieSparkSessionExtension