You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@gravitino.apache.org by "hqbhoho (via GitHub)" <gi...@apache.org> on 2025/08/06 09:06:57 UTC

Re: [PR] [#7848] feat(trino-connector): Support create table with column properties in MySQL [gravitino]

hqbhoho commented on PR #7852:
URL: https://github.com/apache/gravitino/pull/7852#issuecomment-3158456416

   @yuqi1129 @diqiu50 ​​I've developed a rough version.​​ PTAL when you have time, thanks!
   
   Here are two issues:
   - ​​UnparsedExpression​​: This may occur because the server only supports parsing default values for specific data types or special default value expressions.
   
   - Boolean-type constants​​: The server currently does not support them. It uses the BIT type for table creation, and the default value should be either the number 1 or its binary representation b'1'. However, the server fails to pass these values correctly and erroneously adds quotes (e.g. '1') in generated table creation statements.
   
   Please give me some suggestions.
   


-- 
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: commits-unsubscribe@gravitino.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org