zhangbutao commented on issue #12878: URL: https://github.com/apache/iceberg/issues/12878#issuecomment-2834067259
Refer to this Doc: https://spark.apache.org/docs/3.5.1/sql-data-sources-hive-tables.html#interacting-with-different-versions-of-hive-metastore This can let Spark work with Hive4.0.1(with HIVE-26537), although this is not an elegant solution. :( I know HIVE-26537 is a incompatible change. **For the api change(get_table -> get_table_req)**, not only Spark but also Presto has similar troubles. https://github.com/prestodb/presto/pull/24571/files#diff-6aa1466123815b5f316aa052666749a0c8f58d5e12c00dff862a20a00f2ae38bR207 However, this API was already declared as obsolete in an earlier version. Therefore, for Hive, it is a reasonable operation to remove this API in Hive 4.0.1. So, for the downstream OSS, some incompatible upgrade changes should be made. BTW, if some one raises a PR or email in Hive commmunity to discuss this issue, it would be even better. -- 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: issues-unsubscr...@iceberg.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: issues-unsubscr...@iceberg.apache.org For additional commands, e-mail: issues-h...@iceberg.apache.org