Fix HAVING patch missing cast.
Fix HAVING patch missing cast.

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