yuqi1129 opened a new issue, #14608: URL: https://github.com/apache/gravitino/issues/14608
### Version main branch ### Describe what's wrong Spark supplies SQL text to UpdateColumnDefaultValue. SparkTableChangeConverter wraps that entire text in Literals.stringLiteral instead of converting its literal value and type. ### Error message and/or stacktrace A default SQL string `'abc'` becomes a Gravitino string value containing both quote characters. SQL `42` becomes a string literal rather than an integer literal. ### How to reproduce Convert TableChange.updateColumnDefaultValue for a column using SQL `'abc'`, `42`, `12.34` and `NULL`. Inspect the generated Gravitino UpdateColumnDefaultValue expression: the current converter reports string literals for all of them. ### Additional context The fix should preserve typed literal semantics and avoid silently changing names or values. -- 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]
