added visitor(skeleton) for compiling algebra to physical plan