diqiu50 commented on PR #14521:
URL: https://github.com/apache/gravitino/pull/14521#issuecomment-6600973142

   Newly supported `serial` columns cannot be round-tripped through 
load-then-create. Loading a native table containing `id serial` returns a 
`nextval(...)` default, which `PostgreSqlColumnDefaultValueConverter` converts 
to `UnparsedExpression`. Passing the loaded columns to 
`PostgreSqlTableOperations.create` then fails in 
`JdbcColumnDefaultValueConverter.fromGravitino` with `IllegalArgumentException: 
Not a supported column default value`. Please handle these sequence-backed 
defaults so the newly supported serial types can be loaded and recreated 
successfully.


-- 
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]

Reply via email to