The partition pruning v2 use connection context in `OlapScanNode`. Before this PR, NPE would occur when running SQL without ConnectContext such as export, load. For example: ``` EXPORT TABLE t TO "file:///home/data/export.txt" ```
The partition pruning v2 use connection context in `OlapScanNode`. Before this PR, NPE would occur when running SQL without ConnectContext such as export, load. For example: ``` EXPORT TABLE t TO "file:///home/data/export.txt" ```