Fixed the broken Java unit test from SPARK-635.
Fixed the broken Java unit test from SPARK-635.

apache/spark,wangyum/spark,JoshRosen/spark,akopich/spark,darionyaphet/spark,bravo-zhang/spark,joseph-torres/spark,maropu/spark,ConeyLiu/spark,nchammas/spark,kevinyu98/spark,mike0sv/spark,WeichenXu123/spark,rikima/spark,bOOm-X/spark,vax11780/spark,michalsenkyr/spark,adrian-ionescu/apache-spark,loneknightpy/spark,rekhajoshm/spark,WeichenXu123/spark,dbtsai/spark,spark-test/spark,holdenk/spark,pronix/spark,adrian-ionescu/apache-spark,rjpower/spark,shubhamchopra/spark,WeichenXu123/spark,byakuinss/spark,patrick-nicholson/spark,icexelloss/spark,chuckchen/spark,debugger87/spark,saturday-shi/spark,narahari92/spark,saltstar/spark,Panos-Bletsos/spark-cost-model-optimizer,taroplus/spark,loneknightpy/spark,highfei2011/spark,hvanhovell/spark,someorz/spark,highfei2011/spark,xuanyuanking/spark,ioana-delaney/spark,hhbyyh/spark,vax11780/spark,darionyaphet/spark,narahari92/spark,aray/spark,dhruve/spark,patrick-nicholson/spark,dbtsai/spark,liyichao/spark,andrewor14/spark,saturday-shi/spark,aosagie/spark,dbtsai/spark,darionyaphet/spark,ron8hu/spark,rikima/spark,ron8hu/spark,gioenn/xSpark,akopich/spark,pronix/spark,rjpower/spark,zzcclp/spark,panfengfeng/spark,lvdongr/spark,xuanyuanking/spark,wangmiao1981/spark,eyalfa/spark,skonto/spark,yanboliang/spark,wgpshashank/spark,haowu80s/spark,kissmetrics/spark,icexelloss/spark,map222/spark,hhbyyh/spark,saturday-shi/spark,mike0sv/spark,ptkool/spark,huang1900/spark,bOOm-X/spark,nlalevee/spark,lxsmnv/spark,stanzhai/spark,kimoonkim/spark,shubhamchopra/spark,mike0sv/spark,bdrillard/spark,icexelloss/spark,dongjoon-hyun/spark,mzl9039/spark,rjpower/spark,mkolod/incubator-spark,SnappyDataInc/spark,markhamstra/spark,milliman/spark,goldmedal/spark,HyukjinKwon/spark,facaiy/spark,techaddict/spark,metamx/spark,rekhajoshm/spark,mike0sv/spark,SnappyDataInc/spark,kimoonkim/spark,WeichenXu123/spark,kissmetrics/spark,taroplus/spark,michalsenkyr/spark,loneknightpy/spark,publicRoman/spark,joseph-torres/spark,liutang123/spark,nilsgrabbert/spark,icexelloss/spark,WindCanDie/spark,wgpshashank/spark,shubhamchopra/spark,mdespriee/spark,MLnick/spark,chuckchen/spark,wzhfy/spark,markhamstra/spark,janewangfb/spark,ptkool/spark,ibm-research-ireland/sparkoscope,kissmetrics/spark,liyichao/spark,shaneknapp/spark,ueshin/apache-spark,publicRoman/spark,andrewor14/iolap,patrick-nicholson/spark,goldmedal/spark,kevinyu98/spark,cin/spark,map222/spark,liyichao/spark,ioana-delaney/spark,alunarbeach/spark,debugger87/spark,stanzhai/spark,sachintyagi22/spark,liyichao/spark,debugger87/spark,rikima/spark,minixalpha/spark,ericvandenbergfb/spark,SnappyDataInc/spark,andrewor14/spark,zzcclp/spark,rednaxelafx/apache-spark,mzl9039/spark,esi-mineset/spark,metamx/spark,pronix/spark,MLnick/spark,eyalfa/spark,kiszk/spark,kissmetrics/spark,debugger87/spark,shuangshuangwang/spark,vinodkc/spark,JoshRosen/spark,aosagie/spark,jlopezmalla/spark,setjet/spark,dotunolafunmiloye/spark,ibm-research-ireland/sparkoscope,brad-kaiser/spark,gengliangwang/spark,lyogavin/spark,rednaxelafx/apache-spark,brad-kaiser/spark,spark-test/spark,taroplus/spark,milliman/spark,bravo-zhang/spark,jiangxb1987/spark,lxsmnv/spark,sureshthalamati/spark,aosagie/spark,ahnqirage/spark,vinodkc/spark,jianran/spark,minixalpha/spark,ahnqirage/spark,zzcclp/spark,dongjoon-hyun/spark,aokolnychyi/spark,facaiy/spark,saturday-shi/spark,holdenk/spark,jrshust/spark,milliman/spark,huang1900/spark,cloud-fan/spark,pgandhi999/spark,ddna1021/spark,ConeyLiu/spark,michalsenkyr/spark,liyichao/spark,srowen/spark,goldmedal/spark,guoxiaolongzte/spark,mahak/spark,wangmiao1981/spark,liutang123/spark,maropu/spark,kissmetrics/spark,nlalevee/spark,panfengfeng/spark,mkolod/incubator-spark,mzl9039/spark,jianran/spark,srowen/spark,big-pegasus/spark,metamx/spark,mahak/spark,shuangshuangwang/spark,andrewor14/iolap,bOOm-X/spark,lyogavin/spark,cloud-fan/spark,hvanhovell/spark,someorz/spark,LantaoJin/spark,panfengfeng/spark,nilsgrabbert/spark,actuaryzhang/spark,LantaoJin/spark,SHASHANKB/spark,rekhajoshm/spark,zero323/spark,jianran/spark,1haodian/spark,dongjoon-hyun/spark,adrian-ionescu/apache-spark,BryanCutler/spark,ericvandenbergfb/spark,skonto/spark,kevinyu98/spark,xflin/spark,apache-spark-on-k8s/spark,jrshust/spark,haowu80s/spark,kiszk/spark,michalsenkyr/spark,huang1900/spark,rikima/spark,jianran/spark,holdenk/spark,jkbradley/spark,jrshust/spark,bdrillard/spark,yanboliang/spark,guoxiaolongzte/spark,rekhajoshm/spark,HyukjinKwon/spark,akopich/spark,sureshthalamati/spark,mahak/spark,gengliangwang/spark,ioana-delaney/spark,brad-kaiser/spark,dhruve/spark,pgandhi999/spark,ajaysaini725/spark,actuaryzhang/spark,highfei2011/spark,wangyum/spark,cin/spark,tengpeng/spark,joseph-torres/spark,Aegeaner/spark,Panos-Bletsos/spark-cost-model-optimizer,andrewor14/iolap,saltstar/spark,cloud-fan/spark,poffuomo/spark,tengpeng/spark,aosagie/spark,mdespriee/spark,shuangshuangwang/spark,eyalfa/spark,mdespriee/spark,ahnqirage/spark,1haodian/spark,vinodkc/spark,esi-mineset/spark,hvanhovell/spark,HyukjinKwon/spark,alunarbeach/spark,adrian-ionescu/apache-spark,apache/spark,ueshin/apache-spark,lvdongr/spark,narahari92/spark,bOOm-X/spark,rezasafi/spark,zuotingbing/spark,dbtsai/spark,kimoonkim/spark,rednaxelafx/apache-spark,esi-mineset/spark,zuotingbing/spark,tengpeng/spark,mzl9039/spark,janewangfb/spark,apache-spark-on-k8s/spark,gengliangwang/spark,akopich/spark,alunarbeach/spark,big-pegasus/spark,jrshust/spark,bravo-zhang/spark,joseph-torres/spark,wangyum/spark,WeichenXu123/spark,patrick-nicholson/spark,setjet/spark,janewangfb/spark,andrewor14/spark,wangmiao1981/spark,aokolnychyi/spark,ahnqirage/spark,UndeadBaneGitHub/spark,facaiy/spark,ahnqirage/spark,loneknightpy/spark,jkbradley/spark,HyukjinKwon/spark,alunarbeach/spark,shaneknapp/spark,aokolnychyi/spark,skonto/spark,actuaryzhang/spark,xflin/spark,mkolod/incubator-spark,rjpower/spark,saltstar/spark,map222/spark,ConeyLiu/spark,map222/spark,caneGuy/spark,mike0sv/spark,sureshthalamati/spark,byakuinss/spark,metamx/spark,huang1900/spark,shuangshuangwang/spark,stanzhai/spark,dhruve/spark,cin/spark,HyukjinKwon/spark,szhem/spark,loneknightpy/spark,ericvandenbergfb/spark,hvanhovell/spark,zero323/spark,maropu/spark,caneGuy/spark,SHASHANKB/spark,sahilTakiar/spark,ibm-research-ireland/sparkoscope,ddna1021/spark,zzcclp/spark,zhouyejoe/spark,shuangshuangwang/spark,aosagie/spark,setjet/spark,andrewor14/spark,sachintyagi22/spark,eyalfa/spark,jianran/spark,metamx/spark,andrewor14/iolap,bdrillard/spark,minixalpha/spark,patrick-nicholson/spark,rezasafi/spark,zero323/spark,shaneknapp/spark,michalsenkyr/spark,jlopezmalla/spark,MLnick/spark,guoxiaolongzte/spark,nlalevee/spark,kiszk/spark,joseph-torres/spark,dhruve/spark,MLnick/spark,byakuinss/spark,skonto/spark,aray/spark,koeninger/spark,holdenk/spark,tejasapatil/spark,zhouyejoe/spark,tengpeng/spark,icexelloss/spark,HyukjinKwon/spark,yanboliang/spark,markhamstra/spark,publicRoman/spark,vax11780/spark,saltstar/spark,tejasapatil/spark,shubhamchopra/spark,tejasapatil/spark,byakuinss/spark,adrian-ionescu/apache-spark,SHASHANKB/spark,ajaysaini725/spark,nilsgrabbert/spark,hvanhovell/spark,hhbyyh/spark,spark-test/spark,bravo-zhang/spark,big-pegasus/spark,highfei2011/spark,lyogavin/spark,brad-kaiser/spark,kimoonkim/spark,byakuinss/spark,cloudera/spark,darionyaphet/spark,cloudera/spark,LantaoJin/spark,yanboliang/spark,debugger87/spark,WindCanDie/spark,huang1900/spark,ron8hu/spark,witgo/spark,cloud-fan/spark,shubhamchopra/spark,stanzhai/spark,ahnqirage/spark,eyalfa/spark,rezasafi/spark,techaddict/spark,sahilTakiar/spark,maropu/spark,witgo/spark,mahak/spark,sachintyagi22/spark,akopich/spark,dhruve/spark,ioana-delaney/spark,jiangxb1987/spark,rezasafi/spark,alunarbeach/spark,publicRoman/spark,spark-test/spark,tejasapatil/spark,Aegeaner/spark,jiangxb1987/spark,mahak/spark,mahak/spark,publicRoman/spark,lxsmnv/spark,rjpower/spark,maropu/spark,janewangfb/spark,JoshRosen/spark,szhem/spark,koeninger/spark,ron8hu/spark,gioenn/xSpark,ron8hu/spark,loneknightpy/spark,Aegeaner/spark,debugger87/spark,sachintyagi22/spark,lxsmnv/spark,xflin/spark,actuaryzhang/spark,tengpeng/spark,yanboliang/spark,WeichenXu123/spark,markhamstra/spark,facaiy/spark,Panos-Bletsos/spark-cost-model-optimizer,LantaoJin/spark,narahari92/spark,jiangxb1987/spark,WindCanDie/spark,joseph-torres/spark,tejasapatil/spark,mzl9039/spark,BryanCutler/spark,aosagie/spark,srowen/spark,kiszk/spark,aray/spark,xuanyuanking/spark,darionyaphet/spark,nchammas/spark,map222/spark,wangmiao1981/spark,rednaxelafx/apache-spark,ericvandenbergfb/spark,ron8hu/spark,hvanhovell/spark,chuckchen/spark,guoxiaolongzte/spark,gengliangwang/spark,apache/spark,metamx/spark,narahari92/spark,ConeyLiu/spark,jrshust/spark,lxsmnv/spark,dongjoon-hyun/spark,alunarbeach/spark,panfengfeng/spark,ueshin/apache-spark,zhouyejoe/spark,actuaryzhang/spark,nilsgrabbert/spark,michalsenkyr/spark,SHASHANKB/spark,shubhamchopra/spark,rednaxelafx/apache-spark,liutang123/spark,jianran/spark,dotunolafunmiloye/spark,dongjoon-hyun/spark,cin/spark,zuotingbing/spark,rezasafi/spark,ericvandenbergfb/spark,szhem/spark,rekhajoshm/spark,maropu/spark,nlalevee/spark,kevinyu98/spark,chuckchen/spark,milliman/spark,SHASHANKB/spark,facaiy/spark,dotunolafunmiloye/spark,witgo/spark,dhruve/spark,sryza/spark,xuanyuanking/spark,skonto/spark,ptkool/spark,wzhfy/spark,vax11780/spark,caneGuy/spark,haowu80s/spark,WindCanDie/spark,pronix/spark,caneGuy/spark,minixalpha/spark,zhouyejoe/spark,Panos-Bletsos/spark-cost-model-optimizer,kevinyu98/spark,skonto/spark,narahari92/spark,caneGuy/spark,jlopezmalla/spark,UndeadBaneGitHub/spark,JerryLead/spark,wzhfy/spark,zzcclp/spark,guoxiaolongzte/spark,big-pegasus/spark,witgo/spark,hhbyyh/spark,1haodian/spark,michalsenkyr/spark,JerryLead/spark,kevinyu98/spark,ptkool/spark,lvdongr/spark,vinodkc/spark,apache-spark-on-k8s/spark,akopich/spark,akopich/spark,ddna1021/spark,sryza/spark,mdespriee/spark,aokolnychyi/spark,JoshRosen/spark,SHASHANKB/spark,apache/spark,sureshthalamati/spark,kimoonkim/spark,SnappyDataInc/spark,rednaxelafx/apache-spark,bOOm-X/spark,sachintyagi22/spark,1haodian/spark,apache-spark-on-k8s/spark,shaneknapp/spark,wangyum/spark,holdenk/spark,highfei2011/spark,cloudera/spark,ptkool/spark,mdespriee/spark,actuaryzhang/spark,jrshust/spark,saltstar/spark,dotunolafunmiloye/spark,WindCanDie/spark,sureshthalamati/spark,liutang123/spark,panfengfeng/spark,mzl9039/spark,lxsmnv/spark,jlopezmalla/spark,pgandhi999/spark,ioana-delaney/spark,hvanhovell/spark,ajaysaini725/spark,SnappyDataInc/spark,sahilTakiar/spark,ericvandenbergfb/spark,zuotingbing/spark,publicRoman/spark,zhouyejoe/spark,mike0sv/spark,xuanyuanking/spark,ahnqirage/spark,narahari92/spark,shaneknapp/spark,darionyaphet/spark,Aegeaner/spark,UndeadBaneGitHub/spark,janewangfb/spark,map222/spark,milliman/spark,ddna1021/spark,rezasafi/spark,wangmiao1981/spark,sryza/spark,nchammas/spark,JerryLead/spark,taroplus/spark,someorz/spark,gioenn/xSpark,vinodkc/spark,aokolnychyi/spark,brad-kaiser/spark,big-pegasus/spark,rekhajoshm/spark,jkbradley/spark,andrewor14/iolap,minixalpha/spark,nilsgrabbert/spark,sureshthalamati/spark,nchammas/spark,zuotingbing/spark,jlopezmalla/spark,poffuomo/spark,adrian-ionescu/apache-spark,caneGuy/spark,rekhajoshm/spark,poffuomo/spark,JerryLead/spark,jkbradley/spark,stanzhai/spark,LantaoJin/spark,WindCanDie/spark,Aegeaner/spark,milliman/spark,szhem/spark,hhbyyh/spark,BryanCutler/spark,setjet/spark,publicRoman/spark,actuaryzhang/spark,holdenk/spark,wzhfy/spark,witgo/spark,pgandhi999/spark,icexelloss/spark,szhem/spark,Aegeaner/spark,xflin/spark,ioana-delaney/spark,koeninger/spark,setjet/spark,guoxiaolongzte/spark,ptkool/spark,bdrillard/spark,ueshin/apache-spark,MLnick/spark,wzhfy/spark,panfengfeng/spark,aokolnychyi/spark,yanboliang/spark,sahilTakiar/spark,maropu/spark,joseph-torres/spark,BryanCutler/spark,stanzhai/spark,facaiy/spark,byakuinss/spark,aray/spark,shuangshuangwang/spark,apache-spark-on-k8s/spark,andrewor14/spark,nlalevee/spark,BryanCutler/spark,tengpeng/spark,eyalfa/spark,bdrillard/spark,liyichao/spark,lvdongr/spark,Aegeaner/spark,lvdongr/spark,janewangfb/spark,Panos-Bletsos/spark-cost-model-optimizer,ajaysaini725/spark,zero323/spark,UndeadBaneGitHub/spark,cin/spark,ioana-delaney/spark,vinodkc/spark,cloud-fan/spark,bdrillard/spark,setjet/spark,ibm-research-ireland/sparkoscope,patrick-nicholson/spark,poffuomo/spark,jkbradley/spark,dhruve/spark,szhem/spark,pgandhi999/spark,BryanCutler/spark,someorz/spark,markhamstra/spark,cloud-fan/spark,andrewor14/spark,zhouyejoe/spark,UndeadBaneGitHub/spark,ConeyLiu/spark,JerryLead/spark,gioenn/xSpark,gioenn/xSpark,minixalpha/spark,ajaysaini725/spark,esi-mineset/spark,zhouyejoe/spark,milliman/spark,SHASHANKB/spark,ptkool/spark,JoshRosen/spark,haowu80s/spark,wangyum/spark,JoshRosen/spark,kiszk/spark,esi-mineset/spark,ConeyLiu/spark,mkolod/incubator-spark,ibm-research-ireland/sparkoscope,icexelloss/spark,debugger87/spark,alunarbeach/spark,liyichao/spark,haowu80s/spark,xuanyuanking/spark,kissmetrics/spark,sachintyagi22/spark,andrewor14/iolap,someorz/spark,WeichenXu123/spark,nilsgrabbert/spark,xflin/spark,mkolod/incubator-spark,sureshthalamati/spark,ajaysaini725/spark,apache/spark,zuotingbing/spark,saturday-shi/spark,aray/spark,darionyaphet/spark,andrewor14/spark,rikima/spark,jlopezmalla/spark,poffuomo/spark,skonto/spark,apache-spark-on-k8s/spark,szhem/spark,chuckchen/spark,mdespriee/spark,adrian-ionescu/apache-spark,guoxiaolongzte/spark,eyalfa/spark,LantaoJin/spark,xflin/spark,bOOm-X/spark,mahak/spark,liutang123/spark,cloud-fan/spark,apache/spark,holdenk/spark,jlopezmalla/spark,1haodian/spark,gioenn/xSpark,pronix/spark,caneGuy/spark,UndeadBaneGitHub/spark,tejasapatil/spark,poffuomo/spark,bravo-zhang/spark,ddna1021/spark,huang1900/spark,techaddict/spark,ibm-research-ireland/sparkoscope,yanboliang/spark,rikima/spark,ericvandenbergfb/spark,MLnick/spark,srowen/spark,jrshust/spark,mdespriee/spark,HyukjinKwon/spark,wgpshashank/spark,lxsmnv/spark,cloudera/spark,facaiy/spark,someorz/spark,big-pegasus/spark,chuckchen/spark,sahilTakiar/spark,rikima/spark,nlalevee/spark,wzhfy/spark,brad-kaiser/spark,LantaoJin/spark,lvdongr/spark,MLnick/spark,mike0sv/spark,hhbyyh/spark,shuangshuangwang/spark,aokolnychyi/spark,techaddict/spark,ron8hu/spark,dongjoon-hyun/spark,saturday-shi/spark,pgandhi999/spark,huang1900/spark,liutang123/spark,WindCanDie/spark,ConeyLiu/spark,wgpshashank/spark,koeninger/spark,gengliangwang/spark,brad-kaiser/spark,JerryLead/spark,cin/spark,kevinyu98/spark,Panos-Bletsos/spark-cost-model-optimizer,techaddict/spark,lvdongr/spark,JoshRosen/spark,patrick-nicholson/spark,wzhfy/spark,kimoonkim/spark,loneknightpy/spark,koeninger/spark,tengpeng/spark,sahilTakiar/spark,jianran/spark,jiangxb1987/spark,byakuinss/spark,goldmedal/spark,techaddict/spark,bdrillard/spark,shaneknapp/spark,spark-test/spark,sachintyagi22/spark,taroplus/spark,kissmetrics/spark,saltstar/spark,lyogavin/spark,goldmedal/spark,panfengfeng/spark,minixalpha/spark,lyogavin/spark,vax11780/spark,cloudera/spark,goldmedal/spark,ajaysaini725/spark,gengliangwang/spark,dbtsai/spark,map222/spark,chuckchen/spark,poffuomo/spark,matthewfranglen/spark,setjet/spark,BryanCutler/spark,hhbyyh/spark,aray/spark,aosagie/spark,sryza/spark,Panos-Bletsos/spark-cost-model-optimizer,SnappyDataInc/spark,markhamstra/spark,wangyum/spark,dongjoon-hyun/spark,stanzhai/spark,jiangxb1987/spark,shubhamchopra/spark,jiangxb1987/spark,SnappyDataInc/spark,jkbradley/spark,someorz/spark,zuotingbing/spark,nchammas/spark,liutang123/spark,wangmiao1981/spark,goldmedal/spark,1haodian/spark,ibm-research-ireland/sparkoscope,saltstar/spark,zzcclp/spark,zero323/spark,saturday-shi/spark,bravo-zhang/spark,ddna1021/spark,gengliangwang/spark,andrewor14/iolap,bravo-zhang/spark,ueshin/apache-spark,rednaxelafx/apache-spark,kiszk/spark,markhamstra/spark,taroplus/spark,esi-mineset/spark,UndeadBaneGitHub/spark,ueshin/apache-spark,nchammas/spark,srowen/spark,rezasafi/spark,shaneknapp/spark,wangmiao1981/spark,1haodian/spark,dbtsai/spark,jkbradley/spark,gioenn/xSpark,taroplus/spark,pronix/spark,mzl9039/spark,spark-test/spark,witgo/spark,vinodkc/spark,wangyum/spark,srowen/spark,highfei2011/spark,bOOm-X/spark,ueshin/apache-spark,nchammas/spark,big-pegasus/spark,xflin/spark,aray/spark,zzcclp/spark,highfei2011/spark,zero323/spark,sahilTakiar/spark,sryza/spark,metamx/spark,xuanyuanking/spark,witgo/spark,techaddict/spark,dbtsai/spark,pgandhi999/spark,spark-test/spark,nlalevee/spark,apache/spark,esi-mineset/spark,JerryLead/spark,nilsgrabbert/spark,srowen/spark,ddna1021/spark,kimoonkim/spark,janewangfb/spark,kiszk/spark,apache-spark-on-k8s/spark,zero323/spark,haowu80s/spark,tejasapatil/spark,cin/spark