liugddx commented on PR #3026: URL: https://github.com/apache/incubator-seatunnel/pull/3026#issuecomment-1282177110
> Why we need add `SqlDateType`? It's same with `LocalTimeType`. > gbase8a must use sql date `java.sql.Date`,`java.sql.Time`,`java.sql.Timestamp`,otherwise it will be abnormal. > > ``` > Exception in thread "main" com.gbase.jdbc.GBaseDataTruncation: Data truncation: Incorrect date value: '******' > at com.gbase.jdbc.GBaseIO.checkErrorPacket(GBaseIO.java:3631) > at com.gbase.jdbc.GBaseIO.checkErrorPacket(GBaseIO.java:3565) > at com.gbase.jdbc.GBaseIO.sendCommand(GBaseIO.java:1996) > at com.gbase.jdbc.GBaseIO.sqlQueryDirect(GBaseIO.java:2150) > at com.gbase.jdbc.ConnectionImpl.execSQL(ConnectionImpl.java:2652) > at com.gbase.jdbc.PreparedStatement.executeInternal(PreparedStatement.java:2133) > at com.gbase.jdbc.PreparedStatement.executeUpdate(PreparedStatement.java:2429) > at com.gbase.jdbc.PreparedStatement.executeUpdate(PreparedStatement.java:2347) > at com.gbase.jdbc.PreparedStatement.executeUpdate(PreparedStatement.java:2332) > ``` @ashulin @Hisoka-X Gbase does not support `localTimeType` type and i don't know what better way to do it. -- 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: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
