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

fanng pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/gravitino.git


The following commit(s) were added to refs/heads/main by this push:
     new af8420eea [#4137] docs(spark-connector): correct timestamp mapping 
document for Spark connector and Gravitino (#4231)
af8420eea is described below

commit af8420eeaec8cc2c84f2369a9c52fbd6c8f37b16
Author: lsyulong <[email protected]>
AuthorDate: Mon Jul 29 15:11:29 2024 +0800

    [#4137] docs(spark-connector): correct timestamp mapping document for Spark 
connector and Gravitino (#4231)
    
    ### What changes were proposed in this pull request?
    correct timestamp mapping document for Spark connector and Gravitino
    
    ### Why are the changes needed?
    Fix: #4137
    
    ### Does this PR introduce _any_ user-facing change?
    no
    
    ### How was this patch tested?
    just document
---
 docs/spark-connector/spark-connector.md | 40 ++++++++++++++++-----------------
 1 file changed, 20 insertions(+), 20 deletions(-)

diff --git a/docs/spark-connector/spark-connector.md 
b/docs/spark-connector/spark-connector.md
index 905bacaa8..49ec2748c 100644
--- a/docs/spark-connector/spark-connector.md
+++ b/docs/spark-connector/spark-connector.md
@@ -78,23 +78,23 @@ The command `SHOW CATALOGS` will only display the Spark 
default catalog, named s
 
 Gravitino spark connector support the following datatype mapping between Spark 
and Gravitino.
 
-| Spark Data Type | Gravitino Data Type | Since Version |
-|-----------------|---------------------|---------------|
-| `BooleanType`   | `boolean`           | 0.5.0         |
-| `ByteType`      | `byte`              | 0.5.0         |
-| `ShortType`     | `short`             | 0.5.0         |
-| `IntegerType`   | `integer`           | 0.5.0         |
-| `LongType`      | `long`              | 0.5.0         |
-| `FloatType`     | `float`             | 0.5.0         |
-| `DoubleType`    | `double`            | 0.5.0         |
-| `DecimalType`   | `decimal`           | 0.5.0         |
-| `StringType`    | `string`            | 0.5.0         |
-| `CharType`      | `char`              | 0.5.0         |
-| `VarcharType`   | `varchar`           | 0.5.0         |
-| `TimestampType` | `timestamp`         | 0.5.0         |
-| `TimestampType` | `timestamp`         | 0.5.0         |
-| `DateType`      | `date`              | 0.5.0         |
-| `BinaryType`    | `binary`            | 0.5.0         |
-| `ArrayType`     | `array`             | 0.5.0         |
-| `MapType`       | `map`               | 0.5.0         |
-| `StructType`    | `struct`            | 0.5.0         |
+| Spark Data Type    | Gravitino Data Type           | Since Version |
+|--------------------|-------------------------------|---------------|
+| `BooleanType`      | `boolean`                     | 0.5.0         |
+| `ByteType`         | `byte`                        | 0.5.0         |
+| `ShortType`        | `short`                       | 0.5.0         |
+| `IntegerType`      | `integer`                     | 0.5.0         |
+| `LongType`         | `long`                        | 0.5.0         |
+| `FloatType`        | `float`                       | 0.5.0         |
+| `DoubleType`       | `double`                      | 0.5.0         |
+| `DecimalType`      | `decimal`                     | 0.5.0         |
+| `StringType`       | `string`                      | 0.5.0         |
+| `CharType`         | `char`                        | 0.5.0         |
+| `VarcharType`      | `varchar`                     | 0.5.0         |
+| `TimestampType`    | `timestamp with time zone`    | 0.5.0         |
+| `TimestampNTZType` | `timestamp without time zone` | 0.5.0         |
+| `DateType`         | `date`                        | 0.5.0         |
+| `BinaryType`       | `binary`                      | 0.5.0         |
+| `ArrayType`        | `array`                       | 0.5.0         |
+| `MapType`          | `map`                         | 0.5.0         |
+| `StructType`       | `struct`                      | 0.5.0         |

Reply via email to