Hi, I don't think there's a config to change the default behavior. But you can change the bridged class programmatically like: DataTypes.TIMESTAMP(9).bridgedTo(java.sql.Timestamp.class)
On Fri, Feb 14, 2020 at 8:47 AM Fanbin Bu <fanbin...@coinbase.com> wrote: > Hi, > > According to > > https://ci.apache.org/projects/flink/flink-docs-release-1.9/dev/table/types.html#timestamp > , > the default java bridge time for timestamp is java.time.LocalDateTime. Is > there a setting that can change it to use > java.sql.Timestamp instead? > > Thanks, > Fanbin > -- Best regards! Rui Li