This is an automated email from the ASF dual-hosted git repository. fanjia pushed a commit to branch dev in repository https://gitbox.apache.org/repos/asf/seatunnel.git
The following commit(s) were added to refs/heads/dev by this push:
new db480924a [HotFix] Fix code style (#5092)
db480924a is described below
commit db480924ac90bb97c2d445f227b5d7f93a474897
Author: Guangdong Liu <[email protected]>
AuthorDate: Mon Jul 17 09:51:03 2023 +0800
[HotFix] Fix code style (#5092)
---
docs/en/concept/schema-feature.md | 36 ++++++++++++++++++------------------
1 file changed, 18 insertions(+), 18 deletions(-)
diff --git a/docs/en/concept/schema-feature.md
b/docs/en/concept/schema-feature.md
index a34e123c1..ebc0cf68a 100644
--- a/docs/en/concept/schema-feature.md
+++ b/docs/en/concept/schema-feature.md
@@ -6,25 +6,25 @@ Some NoSQL databases or message queue are not strongly
limited schema, so the sc
## What type supported at now
-| Data type | Value type in Java | Description
|
-|:----------|:----------|:------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
-| string | `java.lang.String` | string
|
-| boolean | `java.lang.Boolean` |boolean
|
-| tinyint | `java.lang.Byte` | -128 to 127 regular. 0 to 255 unsigned*.
Specify the maximum number of digits in parentheses.
|
-| smallint | `java.lang.Short` | -32768 to 32767 General. 0 to 65535
unsigned*. Specify the maximum number of digits in parentheses.
|
-| int | `java.lang.Integer` | All numbers from -2,147,483,648 to
2,147,483,647 are allowed.
|
-| bigint | `java.lang.Long` | All numbers between
-9,223,372,036,854,775,808 and 9,223,372,036,854,775,807 are allowed.
|
-| float | `java.lang.Float` | Float-precision numeric data from -1.79E+308
to 1.79E+308.
|
-| double | `java.lang.Double` | Double precision floating point. Handle
most decimals.
|
-| decimal | `java.math.BigDecimal` | DOUBLE type stored as a string,
allowing a fixed decimal point.
|
-| null | `java.lang.Void` | null
|
-| bytes | `byte[]` | bytes.
|
-| date | `java.time.LocalDate` | Only the date is stored. From January 1,
0001 to December 31, 9999.
|
-| time | `java.time.LocalTime` | Only store time. Accuracy is 100
nanoseconds.
|
-| timestamp | `java.time.LocalDateTime` | Stores a unique number that is
updated whenever a row is created or modified. timestamp is based on the
internal clock and does not correspond to real time. There can only be one
timestamp variable per table.
|
+| Data type | Value type in Java | Description
|
+|:----------|:---------------------------------------------------|:------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
+| string | `java.lang.String` | string
|
+| boolean | `java.lang.Boolean` | boolean
|
+| tinyint | `java.lang.Byte` | -128 to 127
regular. 0 to 255 unsigned*. Specify the maximum number of digits in
parentheses.
|
+| smallint | `java.lang.Short` | -32768 to
32767 General. 0 to 65535 unsigned*. Specify the maximum number of digits in
parentheses.
|
+| int | `java.lang.Integer` | All numbers
from -2,147,483,648 to 2,147,483,647 are allowed.
|
+| bigint | `java.lang.Long` | All numbers
between -9,223,372,036,854,775,808 and 9,223,372,036,854,775,807 are allowed.
|
+| float | `java.lang.Float` |
Float-precision numeric data from -1.79E+308 to 1.79E+308.
|
+| double | `java.lang.Double` | Double
precision floating point. Handle most decimals.
|
+| decimal | `java.math.BigDecimal` | DOUBLE type
stored as a string, allowing a fixed decimal point.
|
+| null | `java.lang.Void` | null
|
+| bytes | `byte[]` | bytes.
|
+| date | `java.time.LocalDate` | Only the
date is stored. From January 1, 0001 to December 31, 9999.
|
+| time | `java.time.LocalTime` | Only store
time. Accuracy is 100 nanoseconds.
|
+| timestamp | `java.time.LocalDateTime` | Stores a
unique number that is updated whenever a row is created or modified. timestamp
is based on the internal clock and does not correspond to real time. There can
only be one timestamp variable per table.
|
| row | `org.apache.seatunnel.api.table.type.SeaTunnelRow` | Row
type,can be nested.
|
-| map | `java.util.Map` | A Map is an object that maps keys to values.
The key type includes `int` `string` `boolean` `tinyint` `smallint` `bigint`
`float` `double` `decimal` `date` `time` `timestamp` `null` , and the value
type includes `int` `string` `boolean` `tinyint` `smallint` `bigint` `float`
`double` `decimal` `date` `time` `timestamp` `null` `array` `map`. |
-| array | `ValueType[]` | A array is a data type that represents a
collection of elements. The element type includes `int` `string` `boolean`
`tinyint` `smallint` `bigint` `float` `double` `array` `map`.
|
+| map | `java.util.Map` | A Map is an
object that maps keys to values. The key type includes `int` `string` `boolean`
`tinyint` `smallint` `bigint` `float` `double` `decimal` `date` `time`
`timestamp` `null` , and the value type includes `int` `string` `boolean`
`tinyint` `smallint` `bigint` `float` `double` `decimal` `date` `time`
`timestamp` `null` `array` `map`. |
+| array | `ValueType[]` | A array is
a data type that represents a collection of elements. The element type includes
`int` `string` `boolean` `tinyint` `smallint` `bigint` `float` `double` `array`
`map`.
|
## How to use schema
