[DOCUMENTATION]Fixed Missing Type Import in Documentation
[DOCUMENTATION]Fixed Missing Type Import in Documentation

Needed to import the types specifically, not the more general pyspark.sql

Author: Bill Chambers <wchambers@ischool.berkeley.edu>
Author: anabranch <wac.chambers@gmail.com>

Closes #5179 from anabranch/master and squashes the following commits:

8fa67bf [anabranch] Corrected SqlContext Import
603b080 [Bill Chambers] [DOCUMENTATION]Fixed Missing Type Import in Documentation

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