kadirozde commented on code in PR #1751:
URL: https://github.com/apache/phoenix/pull/1751#discussion_r1496726438
##########
phoenix-core-client/src/main/java/org/apache/phoenix/compile/QueryCompiler.java:
##########
@@ -190,8 +192,20 @@ private void verifySCN() throws SQLException {
if (scn == null) {
return;
}
- long maxLookBackAgeInMillis =
-
BaseScannerRegionObserverConstants.getMaxLookbackInMillis(conn.getQueryServices().getConfiguration());
+ ColumnResolver resolver = FromCompiler.getResolverForQuery(select,
conn);
Review Comment:
I do not think we need to get a new ColumnResolver here. Can we use the
column resolver of the QueryCompiler object. Please note
FromCompiler.getResolverForQuery() makes an RPC call to the syscat region.
--
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]