cmu-db / peloton

The Self-Driving Database Management System
http://pelotondb.io
Apache License 2.0
2.03k stars 623 forks source link

Adding debug method that can print query plans #1361

Open nappelson opened 6 years ago

nappelson commented 6 years ago

Would recommend adding a method that can print out query plans. This method should likely take in a pointer to an AbstractPlan and print out each PlanNode's information (with GetInfo() in a structured way.

This method could exist in src/include/planner/abstract_plan.h