[SPARK-12200][SQL] Add __contains__ implementation to Row
[SPARK-12200][SQL] Add __contains__ implementation to Row

https://issues.apache.org/jira/browse/SPARK-12200

Author: Maciej Brynski <maciej.brynski@adpilot.pl>
Author: Maciej Bryński <maciek-github@brynski.pl>

Closes #10194 from maver1ck/master.

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