This is an automated email from the ASF dual-hosted git repository. stoty pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/phoenix-omid.git
The following commit(s) were added to refs/heads/master by this push: new 1f9873df OMID-275 Expose backing HBase Table from TTable 1f9873df is described below commit 1f9873dfebd4b2e3618c6e6fac3db553975f5e26 Author: Istvan Toth <st...@apache.org> AuthorDate: Tue Jan 23 08:26:03 2024 +0100 OMID-275 Expose backing HBase Table from TTable --- .../src/main/java/org/apache/omid/transaction/TTable.java | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/hbase-client/src/main/java/org/apache/omid/transaction/TTable.java b/hbase-client/src/main/java/org/apache/omid/transaction/TTable.java index b80e328c..dd8cffab 100644 --- a/hbase-client/src/main/java/org/apache/omid/transaction/TTable.java +++ b/hbase-client/src/main/java/org/apache/omid/transaction/TTable.java @@ -499,6 +499,17 @@ public class TTable implements Closeable { return snapshotFilter.getScanner(tsscan, transaction); } + /** + * Return the raw HBase table + * + * This is needed to resolve API incompatibilities between HBase 2 and 3 in Phoenix. + * + * @return the backing table + */ + public Table getHBaseTable() { + return table; + } + /** * * @return array of byte