PCloud63514 opened a new pull request, #8105:
URL: https://github.com/apache/gravitino/pull/8105

   ### What changes were proposed in this pull request?
   
   Update SqliteTableOperations table creation SQL generation to:
   - Prevent malformed statements when a comment is specified.
   - Always append a semicolon (;) to the statement.
   
   ### Why are the changes needed?
   
   - The creation of comments and properties interfere with each other.
   - A missing semicolon may cause statement execution failures.
   
   Fix: #8035
   
   ### Does this PR introduce _any_ user-facing change?
   
   - Yes.
   - Generated CREATE TABLE SQL now includes the table comment and ends with a 
semicolon.
   
   ### How was this patch tested?
   
   - Added a test in `TestSqliteTableOperations.java` to validate COMMENT 
inclusion and semicolon termination.
   - Verified existing tests pass to ensure no regressions.
   


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