dengzhhu653 commented on PR #6265:
URL: https://github.com/apache/hive/pull/6265#issuecomment-3748615327

   > What change(in Postgres?) makes it possible to remove the flag?
   > 
   > We can delete the same parameters in HiveConf and some test cases as well.
   > 
   > ```
   > common/src/java/org/apache/hadoop/hive/conf/HiveConf.java:    
METASTORE_TRY_DIRECT_SQL_DDL("hive.metastore.try.direct.sql.ddl", true,
   > ql/src/test/queries/clientpositive/alter_table_column_stats.q:-- Test for 
external tables with metastore.try.direct.sql.ddl as false
   > ql/src/test/queries/clientpositive/alter_table_column_stats.q:set 
metaconf:metastore.try.direct.sql.ddl=false;
   > 
standalone-metastore/metastore-common/src/main/java/org/apache/hadoop/hive/metastore/conf/MetastoreConf.java:
    TRY_DIRECT_SQL_DDL("metastore.try.direct.sql.ddl", 
"hive.metastore.try.direct.sql.ddl", true,
   > ```
   
   With the help of HIVE-26976, it's possible to recover from the direct sql by 
rolling back to the savepoint before sql execution,


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


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to