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

   > @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.
   
   - We only need to make exceptions and do not support this type of default 
value.
   - Is there big difficulty to convert string `1` to boolean true? Can you 
provide more details about this problem?
   


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