Description
In below constructor we are creating additional scan object instead of supplied scan object.
public StatementContext(PhoenixStatement statement, Scan scan)
{ this(statement, FromCompiler.EMPTY_TABLE_RESOLVER, new Scan(), new SequenceManager(statement)); }