TimothyDing opened a new issue, #10365:
URL: https://github.com/apache/gravitino/issues/10365

   ### Describe the subtask
   
   ## Description
   When attempting to drop a column from a Hologres table via Gravitino, the 
operation fails because Hologres requires a session-level GUC parameter to be 
set before executing DROP COLUMN.
   
   According to Hologres documentation 
(https://help.aliyun.com/zh/hologres/developer-reference/alter-table), the 
following GUC must be enabled:
   ```sql
   SET hg_experimental_enable_drop_column = on;
   ```
   
   Without this setting, the ALTER TABLE DROP COLUMN statement will fail.
   
   ## Steps to Reproduce
   1. Create a Hologres table via Gravitino
   2. Attempt to drop a column using table alteration
   3. Operation fails due to missing GUC parameter
   
   ## Expected Behavior
   DROP COLUMN operation should succeed by automatically setting the required 
GUC parameter.
   
   ## Actual Behavior
   DROP COLUMN operation fails because the GUC parameter is not set.
   
   ### Parent issue
   
   https://github.com/apache/gravitino/issues/9886


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