[SPARK-24057][PYTHON] put the real data type in the AssertionError message
[SPARK-24057][PYTHON] put the real data type in the AssertionError message

## What changes were proposed in this pull request?

Print out the data type in the AssertionError message to make it more meaningful.

## How was this patch tested?

I manually tested the changed code on my local, but didn't add any test.

Author: Huaxin Gao <huaxing@us.ibm.com>

Closes #21159 from huaxingao/spark-24057.

taroplus/spark,michalsenkyr/spark,dbtsai/spark,caneGuy/spark,witgo/spark,ddna1021/spark,skonto/spark,kiszk/spark,dbtsai/spark,jkbradley/spark,holdenk/spark,rikima/spark,apache/spark,taroplus/spark,highfei2011/spark,ddna1021/spark,chuckchen/spark,ConeyLiu/spark,milliman/spark,LantaoJin/spark,jiangxb1987/spark,darionyaphet/spark,vinodkc/spark,LantaoJin/spark,rednaxelafx/apache-spark,vinodkc/spark,sahilTakiar/spark,spark-test/spark,joseph-torres/spark,rednaxelafx/apache-spark,LantaoJin/spark,bdrillard/spark,mahak/spark,bdrillard/spark,HyukjinKwon/spark,spark-test/spark,bdrillard/spark,sahilTakiar/spark,bravo-zhang/spark,wangmiao1981/spark,pgandhi999/spark,tejasapatil/spark,szhem/spark,michalsenkyr/spark,caneGuy/spark,hhbyyh/spark,HyukjinKwon/spark,vinodkc/spark,michalsenkyr/spark,kevinyu98/spark,rikima/spark,jiangxb1987/spark,apache/spark,mdespriee/spark,zuotingbing/spark,bravo-zhang/spark,pgandhi999/spark,rednaxelafx/apache-spark,tejasapatil/spark,WeichenXu123/spark,bdrillard/spark,jkbradley/spark,lvdongr/spark,rednaxelafx/apache-spark,dongjoon-hyun/spark,gengliangwang/spark,taroplus/spark,yanboliang/spark,zuotingbing/spark,holdenk/spark,dongjoon-hyun/spark,witgo/spark,actuaryzhang/spark,nchammas/spark,lvdongr/spark,zero323/spark,rekhajoshm/spark,ptkool/spark,icexelloss/spark,goldmedal/spark,icexelloss/spark,aosagie/spark,HyukjinKwon/spark,shaneknapp/spark,vinodkc/spark,debugger87/spark,kevinyu98/spark,shaneknapp/spark,debugger87/spark,eyalfa/spark,HyukjinKwon/spark,wangyum/spark,WindCanDie/spark,tejasapatil/spark,mdespriee/spark,hhbyyh/spark,aosagie/spark,rikima/spark,lvdongr/spark,apache/spark,icexelloss/spark,debugger87/spark,maropu/spark,hvanhovell/spark,maropu/spark,WeichenXu123/spark,jkbradley/spark,hvanhovell/spark,wangyum/spark,wzhfy/spark,BryanCutler/spark,WeichenXu123/spark,ddna1021/spark,szhem/spark,rezasafi/spark,LantaoJin/spark,guoxiaolongzte/spark,gengliangwang/spark,nchammas/spark,joseph-torres/spark,JoshRosen/spark,wangmiao1981/spark,xuanyuanking/spark,rezasafi/spark,zero323/spark,szhem/spark,bdrillard/spark,dbtsai/spark,cloud-fan/spark,goldmedal/spark,shuangshuangwang/spark,highfei2011/spark,gengliangwang/spark,sahilTakiar/spark,milliman/spark,hhbyyh/spark,holdenk/spark,facaiy/spark,ahnqirage/spark,shaneknapp/spark,maropu/spark,wangyum/spark,rikima/spark,rezasafi/spark,srowen/spark,lvdongr/spark,eyalfa/spark,ConeyLiu/spark,bdrillard/spark,BryanCutler/spark,maropu/spark,ahnqirage/spark,xuanyuanking/spark,shuangshuangwang/spark,BryanCutler/spark,jkbradley/spark,mdespriee/spark,kevinyu98/spark,shuangshuangwang/spark,witgo/spark,highfei2011/spark,srowen/spark,michalsenkyr/spark,markhamstra/spark,wzhfy/spark,hvanhovell/spark,mahak/spark,WindCanDie/spark,apache/spark,markhamstra/spark,darionyaphet/spark,milliman/spark,chuckchen/spark,actuaryzhang/spark,shaneknapp/spark,bravo-zhang/spark,Aegeaner/spark,goldmedal/spark,rezasafi/spark,lxsmnv/spark,apache/spark,debugger87/spark,ptkool/spark,vinodkc/spark,jiangxb1987/spark,goldmedal/spark,wzhfy/spark,kevinyu98/spark,markhamstra/spark,chuckchen/spark,facaiy/spark,LantaoJin/spark,wangmiao1981/spark,mahak/spark,hvanhovell/spark,zhouyejoe/spark,bravo-zhang/spark,ptkool/spark,zero323/spark,milliman/spark,ahnqirage/spark,bravo-zhang/spark,techaddict/spark,WeichenXu123/spark,zero323/spark,witgo/spark,pgandhi999/spark,jiangxb1987/spark,highfei2011/spark,chuckchen/spark,actuaryzhang/spark,maropu/spark,WindCanDie/spark,nchammas/spark,shuangshuangwang/spark,michalsenkyr/spark,wangmiao1981/spark,bravo-zhang/spark,goldmedal/spark,yanboliang/spark,tejasapatil/spark,hhbyyh/spark,vinodkc/spark,rekhajoshm/spark,ConeyLiu/spark,spark-test/spark,bdrillard/spark,kiszk/spark,Aegeaner/spark,xuanyuanking/spark,rekhajoshm/spark,zhouyejoe/spark,kevinyu98/spark,icexelloss/spark,nchammas/spark,dbtsai/spark,srowen/spark,WindCanDie/spark,cloud-fan/spark,tengpeng/spark,michalsenkyr/spark,chuckchen/spark,tengpeng/spark,sahilTakiar/spark,wzhfy/spark,techaddict/spark,pgandhi999/spark,ueshin/apache-spark,milliman/spark,zuotingbing/spark,zzcclp/spark,szhem/spark,eyalfa/spark,HyukjinKwon/spark,BryanCutler/spark,BryanCutler/spark,WeichenXu123/spark,eyalfa/spark,darionyaphet/spark,yanboliang/spark,dongjoon-hyun/spark,rednaxelafx/apache-spark,HyukjinKwon/spark,icexelloss/spark,nchammas/spark,ahnqirage/spark,ptkool/spark,goldmedal/spark,tejasapatil/spark,michalsenkyr/spark,mdespriee/spark,dbtsai/spark,darionyaphet/spark,tejasapatil/spark,WeichenXu123/spark,joseph-torres/spark,techaddict/spark,wangmiao1981/spark,ueshin/apache-spark,pgandhi999/spark,markhamstra/spark,xuanyuanking/spark,milliman/spark,actuaryzhang/spark,chuckchen/spark,cloud-fan/spark,zhouyejoe/spark,lxsmnv/spark,darionyaphet/spark,dongjoon-hyun/spark,chuckchen/spark,skonto/spark,markhamstra/spark,kevinyu98/spark,caneGuy/spark,gengliangwang/spark,icexelloss/spark,tengpeng/spark,cloud-fan/spark,spark-test/spark,tejasapatil/spark,debugger87/spark,hhbyyh/spark,wangyum/spark,hvanhovell/spark,techaddict/spark,zzcclp/spark,guoxiaolongzte/spark,sahilTakiar/spark,maropu/spark,joseph-torres/spark,JoshRosen/spark,facaiy/spark,joseph-torres/spark,BryanCutler/spark,wangyum/spark,sahilTakiar/spark,techaddict/spark,zuotingbing/spark,markhamstra/spark,ConeyLiu/spark,gengliangwang/spark,Aegeaner/spark,skonto/spark,ueshin/apache-spark,zero323/spark,ueshin/apache-spark,sahilTakiar/spark,spark-test/spark,JoshRosen/spark,kiszk/spark,aosagie/spark,highfei2011/spark,jiangxb1987/spark,wangyum/spark,jkbradley/spark,zhouyejoe/spark,shaneknapp/spark,JoshRosen/spark,spark-test/spark,witgo/spark,holdenk/spark,ueshin/apache-spark,lvdongr/spark,matthewfranglen/spark,icexelloss/spark,nchammas/spark,rednaxelafx/apache-spark,zero323/spark,ConeyLiu/spark,ueshin/apache-spark,shuangshuangwang/spark,ptkool/spark,xuanyuanking/spark,wzhfy/spark,szhem/spark,zzcclp/spark,lvdongr/spark,rezasafi/spark,kiszk/spark,ahnqirage/spark,facaiy/spark,gengliangwang/spark,apache/spark,caneGuy/spark,srowen/spark,mdespriee/spark,shuangshuangwang/spark,jiangxb1987/spark,WindCanDie/spark,ptkool/spark,hvanhovell/spark,milliman/spark,apache/spark,kevinyu98/spark,tengpeng/spark,dbtsai/spark,skonto/spark,taroplus/spark,eyalfa/spark,witgo/spark,lxsmnv/spark,ddna1021/spark,mdespriee/spark,highfei2011/spark,aosagie/spark,holdenk/spark,xuanyuanking/spark,darionyaphet/spark,JoshRosen/spark,zero323/spark,ddna1021/spark,zzcclp/spark,hhbyyh/spark,kiszk/spark,guoxiaolongzte/spark,shaneknapp/spark,aosagie/spark,gengliangwang/spark,actuaryzhang/spark,maropu/spark,lxsmnv/spark,ahnqirage/spark,zhouyejoe/spark,WindCanDie/spark,kiszk/spark,debugger87/spark,rikima/spark,dongjoon-hyun/spark,rednaxelafx/apache-spark,JoshRosen/spark,guoxiaolongzte/spark,cloud-fan/spark,srowen/spark,goldmedal/spark,rezasafi/spark,facaiy/spark,ddna1021/spark,holdenk/spark,wzhfy/spark,skonto/spark,hvanhovell/spark,dongjoon-hyun/spark,techaddict/spark,Aegeaner/spark,mahak/spark,skonto/spark,guoxiaolongzte/spark,rikima/spark,pgandhi999/spark,zzcclp/spark,zhouyejoe/spark,rikima/spark,WeichenXu123/spark,mahak/spark,taroplus/spark,BryanCutler/spark,yanboliang/spark,markhamstra/spark,tengpeng/spark,ConeyLiu/spark,lxsmnv/spark,rekhajoshm/spark,srowen/spark,ptkool/spark,holdenk/spark,ddna1021/spark,vinodkc/spark,wangmiao1981/spark,yanboliang/spark,ConeyLiu/spark,Aegeaner/spark,caneGuy/spark,HyukjinKwon/spark,rekhajoshm/spark,LantaoJin/spark,tengpeng/spark,lvdongr/spark,wzhfy/spark,srowen/spark,yanboliang/spark,witgo/spark,pgandhi999/spark,bravo-zhang/spark,ueshin/apache-spark,mahak/spark,rekhajoshm/spark,cloud-fan/spark,jkbradley/spark,kiszk/spark,taroplus/spark,joseph-torres/spark,ahnqirage/spark,shaneknapp/spark,jiangxb1987/spark,mdespriee/spark,zuotingbing/spark,skonto/spark,nchammas/spark,zzcclp/spark,guoxiaolongzte/spark,dbtsai/spark,joseph-torres/spark,wangyum/spark,szhem/spark,techaddict/spark,dongjoon-hyun/spark,aosagie/spark,guoxiaolongzte/spark,Aegeaner/spark,aosagie/spark,zuotingbing/spark,spark-test/spark,eyalfa/spark,wangmiao1981/spark,szhem/spark,debugger87/spark,yanboliang/spark,rekhajoshm/spark,xuanyuanking/spark,lxsmnv/spark,tengpeng/spark,darionyaphet/spark,caneGuy/spark,Aegeaner/spark,facaiy/spark,rezasafi/spark,actuaryzhang/spark,mahak/spark,cloud-fan/spark,facaiy/spark,WindCanDie/spark,hhbyyh/spark,taroplus/spark,zzcclp/spark,zuotingbing/spark,jkbradley/spark,highfei2011/spark,zhouyejoe/spark,actuaryzhang/spark,caneGuy/spark,lxsmnv/spark,JoshRosen/spark,shuangshuangwang/spark,LantaoJin/spark,eyalfa/spark