You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@phoenix.apache.org by GitBox <gi...@apache.org> on 2022/05/16 10:47:57 UTC

[GitHub] [phoenix-connectors] stoty commented on a diff in pull request #80: PHOENIX-6694 Avoid unnecessary calls of fetching table meta data to r…

stoty commented on code in PR #80:
URL: https://github.com/apache/phoenix-connectors/pull/80#discussion_r873581804


##########
phoenix-spark-base/src/main/java/org/apache/phoenix/spark/datasource/v2/reader/PhoenixDataSourceReader.java:
##########
@@ -181,10 +184,12 @@ public List<InputPartition<InternalRow>> planInputPartitions() {
 
                 // Get the region size
                 long regionSize = CompatUtil.getSize(regionLocator, connection.getAdmin(), location);
-
+                byte[] tableBytes = PTableImpl.toProto(queryPlan.getTableRef().getTable()).

Review Comment:
   Can we have a bit more descripte name ?
   Like pTableCacheBytes ?



-- 
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-unsubscribe@phoenix.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org