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

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


The following commit(s) were added to refs/heads/branch-3.5 by this push:
     new ef7e7dbb81c7 [SPARK-47375][DOC][FOLLOWUP] Fix a mistake in JDBC's 
preferTimestampNTZ option doc
ef7e7dbb81c7 is described below

commit ef7e7dbb81c745eb9a2141960c29c2ec785e0e82
Author: Gengliang Wang <gengli...@apache.org>
AuthorDate: Thu Mar 14 20:58:45 2024 +0800

    [SPARK-47375][DOC][FOLLOWUP] Fix a mistake in JDBC's preferTimestampNTZ 
option doc
    
    ### What changes were proposed in this pull request?
    
    Fix a mistake in JDBC's preferTimestampNTZ option doc
    
    ### Why are the changes needed?
    
    Fix a mistake in doc
    
    ### Does this PR introduce _any_ user-facing change?
    
    No
    ### How was this patch tested?
    
    Just doc change
    ### Was this patch authored or co-authored using generative AI tooling?
    
    No
    
    Closes #45510 from gengliangwang/reviseJdbcDoc.
    
    Authored-by: Gengliang Wang <gengli...@apache.org>
    Signed-off-by: Kent Yao <y...@apache.org>
    (cherry picked from commit 63b79c1eac01fe7ec88e608008916258b088aeff)
    Signed-off-by: Kent Yao <y...@apache.org>
---
 docs/sql-data-sources-jdbc.md | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/docs/sql-data-sources-jdbc.md b/docs/sql-data-sources-jdbc.md
index d794116091fe..bc0573a37219 100644
--- a/docs/sql-data-sources-jdbc.md
+++ b/docs/sql-data-sources-jdbc.md
@@ -368,9 +368,9 @@ logging into the data sources.
     <td><code>preferTimestampNTZ</code></td>
     <td>false</td>
     <td>
-      When the option is set to <code>true</code>, TIMESTAMP WITHOUT TIME ZONE 
type are inferred as Spark's TimestampNTZ type.
-      Otherwise, it is interpreted as Spark's Timestamp type(equivalent to 
TIMESTAMP WITHOUT LOCAL TIME ZONE).
-      This setting specifically affects only the inference of TIMESTAMP 
WITHOUT TIME ZONE data type. Both TIMESTAMP WITHOUT LOCAL TIME ZONE and 
TIMESTAMP WITH TIME ZONE data types are consistently interpreted as Spark's 
Timestamp type regardless of this setting.
+      When the option is set to <code>true</code>, TIMESTAMP WITHOUT TIME ZONE 
type is inferred as Spark's TimestampNTZ type.
+      Otherwise, it is interpreted as Spark's Timestamp type(equivalent to 
TIMESTAMP WITH LOCAL TIME ZONE).
+      This setting specifically affects only the inference of TIMESTAMP 
WITHOUT TIME ZONE data type. Both TIMESTAMP WITH LOCAL TIME ZONE and TIMESTAMP 
WITH TIME ZONE data types are consistently interpreted as Spark's Timestamp 
type regardless of this setting.
     </td>
     <td>read</td>
   </tr>


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscr...@spark.apache.org
For additional commands, e-mail: commits-h...@spark.apache.org

Reply via email to