Description
See TupleProjectionCompiler.ColumnRefVisitor.
Each non-projected column causes a server roundtrip in LocalIndexDataColumnRef.
For wide tables that can be hundreds of time.
I generally find that the same table is resolved over and over again for other reasons as well (I counted 15-25 times during query compilation!!)
Put a break point in ConnectionQueryServicesImpl.getTable and you'll see.
Attachments
Attachments
Issue Links
- relates to
-
PHOENIX-4962 Ensure that a table is resolved only once per query compilation
- Open