[
https://issues.apache.org/jira/browse/FLINK-25411?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17463849#comment-17463849
]
Wenlong Lyu commented on FLINK-25411:
-------------------------------------
[~surendra.lalwani] I think it would be better to post an example which can
reproduce the case to help others understanding the issue. I agree it is missed
when add supporting on Timestamp_LTZ, the ObjectMapper doesn't support Instant
by default.
JsonRowSerializationSchema is deprecated now, you can try
JsonRowDataSerializationSchema, it can work well, and RowData is the format we
used in Table/SQL.
> JsonRowSerializationSchema unable to parse TIMESTAMP_LTZ fields
> ---------------------------------------------------------------
>
> Key: FLINK-25411
> URL: https://issues.apache.org/jira/browse/FLINK-25411
> Project: Flink
> Issue Type: New Feature
> Components: Formats (JSON, Avro, Parquet, ORC, SequenceFile)
> Reporter: Surendra Lalwani
> Priority: Minor
>
> While I try to fire a simple query Select current_timestamp from table_name ,
> it gives error that Could not serialize row and asks me to add shaded flink
> dependency for jsr-310. Seems like in the Serializer , the JavaTimeModule is
> not added
--
This message was sent by Atlassian Jira
(v8.20.1#820001)