Skip to content

Commit

Permalink
[KYUUBI #5819] [DOCS] Fix rst syntax of missing blank line after code…
Browse files Browse the repository at this point in the history
…-block

# 🔍 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 🔖

- [ ] 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 ⚰️
<img width="1316" alt="image" src="https://github.com/apache/kyuubi/assets/26535726/a35725aa-03be-4402-a482-6cfa74430293">

#### Behavior With This Pull Request 🎉
<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

45149c5 [Cheng Pan] fix
3236c96 [Cheng Pan] [DOCS] Fix rst syntax in Hudi connector page

Authored-by: Cheng Pan <[email protected]>
Signed-off-by: Cheng Pan <[email protected]>
  • Loading branch information
pan3793 committed Dec 5, 2023
1 parent 51c3e03 commit 52d25c7
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
4 changes: 4 additions & 0 deletions docs/connector/spark/delta_lake_with_azure_blob.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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>
Expand Down Expand Up @@ -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,
Expand Down Expand Up @@ -276,6 +278,7 @@ Overwrite Mode
Result:

.. code-block:: text
+-------------+----------+------------+---------------+
| date | eventId | eventType | data |
+-------------+----------+------------+---------------+
Expand All @@ -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;
Expand Down
1 change: 1 addition & 0 deletions docs/connector/spark/hudi.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 52d25c7

Please sign in to comment.