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

dongjoon pushed a commit to branch branch-4.0
in repository https://gitbox.apache.org/repos/asf/spark.git


The following commit(s) were added to refs/heads/branch-4.0 by this push:
     new d61700646e01 [MINOR][DOCS] Fix typos in `docs/sql-data-sources-jdbc.md`
d61700646e01 is described below

commit d61700646e01ca108b200fe36a3a437e51f85c1c
Author: Wei Guo <[email protected]>
AuthorDate: Tue Jan 28 08:28:56 2025 -0800

    [MINOR][DOCS] Fix typos in `docs/sql-data-sources-jdbc.md`
    
    ### What changes were proposed in this pull request?
    
    This PR aims to fix typos in `docs/sql-data-sources-jdbc.md`.
    
    ### Why are the changes needed?
    
    Fix typos.
    
    ### Does this PR introduce _any_ user-facing change?
    
    No.
    
    ### How was this patch tested?
    
    After removing the redundant </td>, the markdown preview displays normally.
    <img width="1155" alt="image" 
src="https://github.com/user-attachments/assets/7818012f-93ef-44f2-87d2-6587867238b6";
 />
    
    ### Was this patch authored or co-authored using generative AI tooling?
    
    No.
    
    Closes #49700 from wayneguow/jdbc_doc.
    
    Authored-by: Wei Guo <[email protected]>
    Signed-off-by: Dongjoon Hyun <[email protected]>
    (cherry picked from commit 373fd4aee5c6d42dfbc8e0ae92b973cc6853b0d3)
    Signed-off-by: Dongjoon Hyun <[email protected]>
---
 docs/sql-data-sources-jdbc.md | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/docs/sql-data-sources-jdbc.md b/docs/sql-data-sources-jdbc.md
index eca8fb9c6c43..9ea6e8a1e69a 100644
--- a/docs/sql-data-sources-jdbc.md
+++ b/docs/sql-data-sources-jdbc.md
@@ -229,9 +229,9 @@ logging into the data sources.
     <td><code>truncate</code></td>
     <td><code>false</code></td>
     <td>
-      This is a JDBC writer related option. When 
<code>SaveMode.Overwrite</code> is enabled, this option causes Spark to 
truncate an existing table instead of dropping and recreating it. This can be 
more efficient, and prevents the table metadata (e.g., indices) from being 
removed. However, it will not work in some cases, such as when the new data has 
a different schema. In case of failures, users should turn off 
<code>truncate</code> option to use <code>DROP TABLE</code> again. Also, du 
[...]
+      This is a JDBC writer related option. When 
<code>SaveMode.Overwrite</code> is enabled, this option causes Spark to 
truncate an existing table instead of dropping and recreating it. This can be 
more efficient, and prevents the table metadata (e.g., indices) from being 
removed. However, it will not work in some cases, such as when the new data has 
a different schema. In case of failures, users should turn off 
<code>truncate</code> option to use <code>DROP TABLE</code> again. Also, du 
[...]
+    </td>
     <td>write</td>
-   </td>
   </tr>
 
   <tr>


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to