Github user ramkrish86 commented on a diff in the pull request:
https://github.com/apache/phoenix/pull/8#discussion_r16698623
--- Diff:
phoenix-core/src/it/java/org/apache/phoenix/end2end/BaseParallelIteratorsRegionSplitterIT.java
---
@@ -86,10 +87,14 @@ protected void initTableValues(long ts) throws
Exception {
conn.close();
}
- protected static TableRef getTableRef(Connection conn, long ts) throws
SQLException {
+ protected static TableRef getTableRef(Connection conn, long ts, PTable
pTable) throws SQLException {
PhoenixConnection pconn = conn.unwrap(PhoenixConnection.class);
- TableRef table = new
TableRef(null,pconn.getMetaDataCache().getTable(new
PTableKey(pconn.getTenantId(), STABLE_NAME)),ts, false);
- return table;
+ if (pTable == null) {
--- End diff --
May be not. will try removing it.
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---