peloton
peloton copied to clipboard
Handle EXPLAIN in the optimizer and executor
This PR moves the handling logic of EXPLAIN
from the network layer to the execution layer. One reason for this is we don't want to duplicate the logic for different protocols, e.g. psql and JDBC, as it is mentioned in #1350.
Two test cases are added, one of which is a SQL test for the functionality of the EXPLAIN
executor. Since we also touch the network layer, an end-to-end test is also added to make sure we didn't break anything in the network layer.
Blocked by #1368