Even though the iceberg table format supports transactions, hiveserver2 doesn't seem to care about this at all. And the transaction rollback syntax of iceberg is completely different from other databases. See https://iceberg.apache.org/docs/latest/hive/#table-rollback and org.apache.hive.jdbc.HiveConnection#rollback(). Hive's handling is a bit humorous.
/*
* (non-Javadoc)
*
* @see java.sql.Connection#rollback()
*/
@Override
public void rollback() throws SQLException {
// TODO Auto-generated method stub
throw new SQLFeatureNotSupportedException("Method not supported");
}
Before committing this PR, I'm sure that I have checked the following options:
For #29052.
Changes proposed in this pull request:
4.0.1
fixes the bug that HiveServer24.0.0
needs to introduce an additionalorg.apache.hadoop:hadoop-client-api:3.3.6
. See https://github.com/apache/hive/pull/5313 and https://github.com/linghengqian/hive-server2-jdbc-driver/pull/10 .actualDataNodes
in nativeTest have been explicitly configured, because implicit configuration is not intuitive.Even though the iceberg table format supports transactions, hiveserver2 doesn't seem to care about this at all. And the transaction rollback syntax of iceberg is completely different from other databases. See https://iceberg.apache.org/docs/latest/hive/#table-rollback and
org.apache.hive.jdbc.HiveConnection#rollback()
. Hive's handling is a bit humorous.Before committing this PR, I'm sure that I have checked the following options:
./mvnw clean install -B -T1C -Dmaven.javadoc.skip -Dmaven.jacoco.skip -e
.