Add sanity check of query
Add sanity check of query

cjcjameson/gpdb,ashwinstar/gpdb,atris/gpdb,Chibin/gpdb,zeroae/postgres-xl,zaksoup/gpdb,yuanzhao/gpdb,xinzweb/gpdb,atris/gpdb,randomtask1155/gpdb,Chibin/gpdb,lisakowen/gpdb,ahachete/gpdb,adam8157/gpdb,foyzur/gpdb,zaksoup/gpdb,rvs/gpdb,yuanzhao/gpdb,kaknikhil/gpdb,randomtask1155/gpdb,greenplum-db/gpdb,foyzur/gpdb,50wu/gpdb,ovr/postgres-xl,jmcatamney/gpdb,foyzur/gpdb,xuegang/gpdb,lisakowen/gpdb,lpetrov-pivotal/gpdb,chrishajas/gpdb,0x0FFF/gpdb,zeroae/postgres-xl,royc1/gpdb,CraigHarris/gpdb,kaknikhil/gpdb,Chibin/gpdb,ovr/postgres-xl,kaknikhil/gpdb,0x0FFF/gpdb,randomtask1155/gpdb,techdragon/Postgres-XL,greenplum-db/gpdb,jmcatamney/gpdb,cjcjameson/gpdb,janebeckman/gpdb,jmcatamney/gpdb,chrishajas/gpdb,snaga/postgres-xl,yuanzhao/gpdb,kaknikhil/gpdb,snaga/postgres-xl,xuegang/gpdb,royc1/gpdb,edespino/gpdb,CraigHarris/gpdb,Quikling/gpdb,pavanvd/postgres-xl,cjcjameson/gpdb,CraigHarris/gpdb,postmind-net/postgres-xl,techdragon/Postgres-XL,xinzweb/gpdb,janebeckman/gpdb,edespino/gpdb,atris/gpdb,arcivanov/postgres-xl,arcivanov/postgres-xl,chrishajas/gpdb,CraigHarris/gpdb,atris/gpdb,Chibin/gpdb,postmind-net/postgres-xl,0x0FFF/gpdb,Postgres-XL/Postgres-XL,yazun/postgres-xl,randomtask1155/gpdb,lintzc/gpdb,ahachete/gpdb,kaknikhil/gpdb,zaksoup/gpdb,ashwinstar/gpdb,lisakowen/gpdb,jmcatamney/gpdb,kaknikhil/gpdb,lpetrov-pivotal/gpdb,xuegang/gpdb,lintzc/gpdb,cjcjameson/gpdb,xuegang/gpdb,foyzur/gpdb,ahachete/gpdb,lpetrov-pivotal/gpdb,randomtask1155/gpdb,rubikloud/gpdb,chrishajas/gpdb,adam8157/gpdb,ovr/postgres-xl,lpetrov-pivotal/gpdb,janebeckman/gpdb,greenplum-db/gpdb,zeroae/postgres-xl,greenplum-db/gpdb,0x0FFF/gpdb,rubikloud/gpdb,janebeckman/gpdb,royc1/gpdb,adam8157/gpdb,zaksoup/gpdb,lpetrov-pivotal/gpdb,pavanvd/postgres-xl,foyzur/gpdb,techdragon/Postgres-XL,postmind-net/postgres-xl,oberstet/postgres-xl,zaksoup/gpdb,cjcjameson/gpdb,adam8157/gpdb,Quikling/gpdb,yuanzhao/gpdb,tpostgres-projects/tPostgres,foyzur/gpdb,chrishajas/gpdb,CraigHarris/gpdb,lisakowen/gpdb,ashwinstar/gpdb,ahachete/gpdb,lintzc/gpdb,zaksoup/gpdb,xinzweb/gpdb,janebeckman/gpdb,yuanzhao/gpdb,jmcatamney/gpdb,rubikloud/gpdb,rvs/gpdb,royc1/gpdb,50wu/gpdb,Quikling/gpdb,oberstet/postgres-xl,janebeckman/gpdb,CraigHarris/gpdb,jmcatamney/gpdb,janebeckman/gpdb,Quikling/gpdb,ashwinstar/gpdb,yuanzhao/gpdb,50wu/gpdb,xuegang/gpdb,rvs/gpdb,pavanvd/postgres-xl,rvs/gpdb,0x0FFF/gpdb,lisakowen/gpdb,rubikloud/gpdb,50wu/gpdb,yazun/postgres-xl,janebeckman/gpdb,yazun/postgres-xl,rvs/gpdb,tangp3/gpdb,Postgres-XL/Postgres-XL,kmjungersen/PostgresXL,Quikling/gpdb,kmjungersen/PostgresXL,atris/gpdb,tangp3/gpdb,Postgres-XL/Postgres-XL,jmcatamney/gpdb,CraigHarris/gpdb,techdragon/Postgres-XL,arcivanov/postgres-xl,cjcjameson/gpdb,edespino/gpdb,kaknikhil/gpdb,janebeckman/gpdb,lintzc/gpdb,CraigHarris/gpdb,lpetrov-pivotal/gpdb,Quikling/gpdb,edespino/gpdb,edespino/gpdb,tangp3/gpdb,xuegang/gpdb,yuanzhao/gpdb,postmind-net/postgres-xl,oberstet/postgres-xl,arcivanov/postgres-xl,cjcjameson/gpdb,Postgres-XL/Postgres-XL,xinzweb/gpdb,chrishajas/gpdb,tpostgres-projects/tPostgres,tangp3/gpdb,atris/gpdb,Quikling/gpdb,adam8157/gpdb,ashwinstar/gpdb,yuanzhao/gpdb,edespino/gpdb,zaksoup/gpdb,Quikling/gpdb,xuegang/gpdb,tangp3/gpdb,Chibin/gpdb,tangp3/gpdb,yuanzhao/gpdb,kaknikhil/gpdb,kaknikhil/gpdb,randomtask1155/gpdb,lisakowen/gpdb,greenplum-db/gpdb,ashwinstar/gpdb,arcivanov/postgres-xl,Chibin/gpdb,lintzc/gpdb,arcivanov/postgres-xl,lintzc/gpdb,oberstet/postgres-xl,xinzweb/gpdb,postmind-net/postgres-xl,50wu/gpdb,pavanvd/postgres-xl,yazun/postgres-xl,kaknikhil/gpdb,kmjungersen/PostgresXL,rvs/gpdb,xuegang/gpdb,lintzc/gpdb,rubikloud/gpdb,oberstet/postgres-xl,royc1/gpdb,tangp3/gpdb,ahachete/gpdb,0x0FFF/gpdb,edespino/gpdb,tpostgres-projects/tPostgres,snaga/postgres-xl,Chibin/gpdb,adam8157/gpdb,lintzc/gpdb,snaga/postgres-xl,ahachete/gpdb,royc1/gpdb,rubikloud/gpdb,randomtask1155/gpdb,zeroae/postgres-xl,Quikling/gpdb,greenplum-db/gpdb,rvs/gpdb,royc1/gpdb,50wu/gpdb,tangp3/gpdb,techdragon/Postgres-XL,greenplum-db/gpdb,yazun/postgres-xl,adam8157/gpdb,ovr/postgres-xl,pavanvd/postgres-xl,tpostgres-projects/tPostgres,0x0FFF/gpdb,rvs/gpdb,rvs/gpdb,ashwinstar/gpdb,CraigHarris/gpdb,zaksoup/gpdb,cjcjameson/gpdb,janebeckman/gpdb,kmjungersen/PostgresXL,lpetrov-pivotal/gpdb,lisakowen/gpdb,zeroae/postgres-xl,ashwinstar/gpdb,50wu/gpdb,edespino/gpdb,jmcatamney/gpdb,foyzur/gpdb,tpostgres-projects/tPostgres,Chibin/gpdb,cjcjameson/gpdb,Chibin/gpdb,chrishajas/gpdb,lintzc/gpdb,greenplum-db/gpdb,chrishajas/gpdb,rvs/gpdb,yuanzhao/gpdb,0x0FFF/gpdb,foyzur/gpdb,Chibin/gpdb,xinzweb/gpdb,xuegang/gpdb,ahachete/gpdb,kmjungersen/PostgresXL,50wu/gpdb,atris/gpdb,rubikloud/gpdb,snaga/postgres-xl,ahachete/gpdb,xinzweb/gpdb,Quikling/gpdb,lpetrov-pivotal/gpdb,atris/gpdb,cjcjameson/gpdb,edespino/gpdb,xinzweb/gpdb,adam8157/gpdb,Postgres-XL/Postgres-XL,randomtask1155/gpdb,rubikloud/gpdb,royc1/gpdb,edespino/gpdb,lisakowen/gpdb,ovr/postgres-xl