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

chengpan pushed a commit to branch branch-1.7
in repository https://gitbox.apache.org/repos/asf/kyuubi.git


The following commit(s) were added to refs/heads/branch-1.7 by this push:
     new 89fd8b0b3 [KYUUBI #5819] [DOCS] Fix rst syntax of missing blank line 
after code-block
89fd8b0b3 is described below

commit 89fd8b0b3924cd63a1768581dd46cea3a25fe7ae
Author: Cheng Pan <[email protected]>
AuthorDate: Tue Dec 5 21:56:24 2023 +0800

    [KYUUBI #5819] [DOCS] Fix rst syntax of missing blank line after code-block
    
    # :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:
    <img width="1316" alt="image" 
src="https://github.com/apache/kyuubi/assets/26535726/a35725aa-03be-4402-a482-6cfa74430293";>
    
    #### Behavior With This Pull Request :tada:
    <img width="1337" alt="image" 
src="https://github.com/apache/kyuubi/assets/26535726/acc643c0-9b91-49c6-97ae-44cc83874ea5";>
    
    #### 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 <[email protected]>
    Signed-off-by: Cheng Pan <[email protected]>
    (cherry picked from commit 52d25c7cf17123ae4778c516519bc9b295540bcf)
    Signed-off-by: Cheng Pan <[email protected]>
---
 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 1d7cab048..bdca3f5df 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://<YOUR_HOST>:7077
    kyuubi.authentication           NONE
    kyuubi.frontend.bind.host       <YOUR_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 045e75146..3ccd1f93b 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

Reply via email to