Add more querycompiler impl
Complete QueryCompiler for joins