Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions docs/sql-ref-datatypes.md
Original file line number Diff line number Diff line change
Expand Up @@ -159,9 +159,9 @@ You can access them by doing
|**StringType**|String|StringType|
|**BinaryType**|Array[Byte]|BinaryType|
|**BooleanType**|Boolean|BooleanType|
|**TimestampType**|java.sql.Timestamp|TimestampType|
|**TimestampType**|java.time.Instant or java.sql.Timestamp|TimestampType|
|**TimestampNTZType**|java.time.LocalDateTime|TimestampNTZType|
|**DateType**|java.sql.Date|DateType|
|**DateType**|java.time.LocalDate or java.sql.Date|DateType|
|**YearMonthIntervalType**|java.time.Period|YearMonthIntervalType|
|**DayTimeIntervalType**|java.time.Duration|DayTimeIntervalType|
|**ArrayType**|scala.collection.Seq|ArrayType(*elementType*, [*containsNull]*)<br/>**Note:** The default value of *containsNull* is true.|
Expand Down Expand Up @@ -190,9 +190,9 @@ please use factory methods provided in
|**StringType**|String|DataTypes.StringType|
|**BinaryType**|byte[]|DataTypes.BinaryType|
|**BooleanType**|boolean or Boolean|DataTypes.BooleanType|
|**TimestampType**|java.sql.Timestamp|DataTypes.TimestampType|
|**TimestampType**|java.time.Instant or java.sql.Timestamp|DataTypes.TimestampType|
|**TimestampNTZType**|java.time.LocalDateTime|DataTypes.TimestampNTZType|
|**DateType**|java.sql.Date|DataTypes.DateType|
|**DateType**|java.time.LocalDate or java.sql.Date|DataTypes.DateType|
|**YearMonthIntervalType**|java.time.Period|DataTypes.YearMonthIntervalType|
|**DayTimeIntervalType**|java.time.Duration|DataTypes.DayTimeIntervalType|
|**ArrayType**|java.util.List|DataTypes.createArrayType(*elementType*)<br/>**Note:** The value of *containsNull* will be true.<br/>DataTypes.createArrayType(*elementType*, *containsNull*).|
Expand Down