You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@seatunnel.apache.org by GitBox <gi...@apache.org> on 2022/06/17 03:17:25 UTC

[GitHub] [incubator-seatunnel] ashulin opened a new issue, #2024: [Discuss][api-draft] SeaTunnel DataType & Java Class & Engine DataType

ashulin opened a new issue, #2024:
URL: https://github.com/apache/incubator-seatunnel/issues/2024

   ### Search before asking
   
   - [X] I had searched in the [feature](https://github.com/apache/incubator-seatunnel/issues?q=is%3Aissue+label%3A%22Feature%22) and found no similar feature requirement.
   
   
   ### Description
   
   | Java Class              | SeaTunnel SQL Type | SeaTunnel DataType                      | Flink TypeInfo                 | Spark DataType       |
   | ----------------------- | ------------------ | --------------------------------------- | ------------------------------ | -------------------- |
   | java.lang.String        | STRING             | BasicType.STRING                        | BasicTypeInfo.STRING_TYPE_INFO | DataTypes.StringType |
   | java.lang.Boolean       | BOOLEAN            | BasicType.BOOLEAN                       |                                |                      |
   | java.lang.Byte          | TINYINT            | BasicType.BYTE                          |                                |                      |
   | java.lang.Short         | SMALLINT           | BasicType.SHORT                         |                                |                      |
   | java.lang.Integer       | INT                | BasicType.INT                           |                                |                      |
   | java.lang.Long          | BIGINT             | BasicType.LONG                          |                                |                      |
   | java.lang.Float         | FLOAT              | BasicType.FLOAT                         |                                |                      |
   | java.lang.Double        | DOUBLE             | BasicType.DOUBLE                        |                                |                      |
   | java.math.BigDecimal    | DECIMAL            | BasicType.BIG_DECIMAL                   |                                |                      |
   | java.time.LocalDate     | DATE               | LocalTimeType.LOCAL_DATE                |                                |                      |
   | java.time.LocalTime     | TIME               | LocalTimeType.LOCAL_TIME                |                                |                      |
   | java.time.LocalDateTime | TIMESTAMP          | LocalTimeType.LOCAL_DATE_TIME           |                                |                      |
   | byte[]                  | BYTES              | PrimitiveArrayType.PRIMITIVE_BYTE_ARRAY |                                |                      |
   | T[]                     | ARRAY              | ArrayType<T>                            |                                |                      |
   | java.util.Map<K, V>     | MAP                | MapType<K, V>                           |                                |                      |
   
   
   
   ### Usage Scenario
   
   _No response_
   
   ### Related issues
   
   _No response_
   
   ### Are you willing to submit a PR?
   
   - [X] Yes I am willing to submit a PR!
   
   ### Code of Conduct
   
   - [X] I agree to follow this project's [Code of Conduct](https://www.apache.org/foundation/policies/conduct)
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@seatunnel.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [incubator-seatunnel] ashulin commented on issue #2024: [Discuss][api-draft] SeaTunnel DataType & Java Class & Engine DataType

Posted by GitBox <gi...@apache.org>.
ashulin commented on issue #2024:
URL: https://github.com/apache/incubator-seatunnel/issues/2024#issuecomment-1158459566

   Do we want to support TIMESTAMP WITH TIMEZONE? Or other?
   Currently, the DECIMAL type does not contain information such as precision, is there any need for improvement?


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@seatunnel.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [incubator-seatunnel] hk-lrzy commented on issue #2024: [Discuss][api-draft] SeaTunnel DataType & Java Class & Engine DataType

Posted by GitBox <gi...@apache.org>.
hk-lrzy commented on issue #2024:
URL: https://github.com/apache/incubator-seatunnel/issues/2024#issuecomment-1162826948

   > > Do we want to support TIMESTAMP WITH TIMEZONE? Or other?
   > > Currently, the DECIMAL type does not contain information such as precision, is there any need for improvement?
   > 
   > Yes. Decimal is need precision I think.
   
   agree, and i think we need alignment source & sink precison value if there have differents.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@seatunnel.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [incubator-seatunnel] EricJoy2048 commented on issue #2024: [Discuss][api-draft] SeaTunnel DataType & Java Class & Engine DataType

Posted by GitBox <gi...@apache.org>.
EricJoy2048 commented on issue #2024:
URL: https://github.com/apache/incubator-seatunnel/issues/2024#issuecomment-1158470888

   > Do we want to support TIMESTAMP WITH TIMEZONE? Or other?
   > Currently, the DECIMAL type does not contain information such as precision, is there any need for improvement?
   
   Yes. Decimal is need precision I think.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@seatunnel.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [incubator-seatunnel] Hisoka-X commented on issue #2024: [Discuss][api-draft] SeaTunnel DataType & Java Class & Engine DataType

Posted by GitBox <gi...@apache.org>.
Hisoka-X commented on issue #2024:
URL: https://github.com/apache/incubator-seatunnel/issues/2024#issuecomment-1166766746

   Close by #2052 


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@seatunnel.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [incubator-seatunnel] Hisoka-X closed issue #2024: [Discuss][api-draft] SeaTunnel DataType & Java Class & Engine DataType

Posted by GitBox <gi...@apache.org>.
Hisoka-X closed issue #2024: [Discuss][api-draft] SeaTunnel DataType & Java Class & Engine DataType
URL: https://github.com/apache/incubator-seatunnel/issues/2024


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@seatunnel.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org