Description
The first access to the cached plan which is enable AQE is tricky. Currently, we can not preserve its output partitioning and ordering.
The whole query plan also missed lots of optimization in AQE framework. Wrap
InMemoryTableScanExec to query stage can resolve all these issues.