[SPARK-34191][PYTHON][SQL] Add typing for udf overload
[SPARK-34191][PYTHON][SQL] Add typing for udf overload

### What changes were proposed in this pull request?
Added typing for keyword-only single argument udf overload.

### Why are the changes needed?

The intended use case is:
```
udf(returnType="string")
def f(x): ...
```

### Does this PR introduce _any_ user-facing change?

Yes - a new typing for udf is considered valid.

### How was this patch tested?

Existing tests.

Closes #31282 from pgrz/patch-1.

Authored-by: pgrz <ec507ad43708ddf5bd3881bc63ccb9cca76197f4@gmail.com>
Signed-off-by: HyukjinKwon <2680965ad5aae29275c8fb10150cb10f5554e78b@apache.org>

BryanCutler/spark,hvanhovell/spark,zzcclp/spark,milliman/spark,shaneknapp/spark,maropu/spark,HyukjinKwon/spark,HyukjinKwon/spark,WeichenXu123/spark,milliman/spark,jiangxb1987/spark,apache/spark,chuckchen/spark,zzcclp/spark,jiangxb1987/spark,chuckchen/spark,mahak/spark,ueshin/apache-spark,JoshRosen/spark,jiangxb1987/spark,xuanyuanking/spark,ueshin/apache-spark,wangmiao1981/spark,taroplus/spark,xuanyuanking/spark,JoshRosen/spark,hvanhovell/spark,wangmiao1981/spark,vinodkc/spark,gengliangwang/spark,HyukjinKwon/spark,ueshin/apache-spark,taroplus/spark,zero323/spark,taroplus/spark,wangmiao1981/spark,witgo/spark,shaneknapp/spark,mahak/spark,gengliangwang/spark,maropu/spark,wangyum/spark,rednaxelafx/apache-spark,zero323/spark,maropu/spark,gengliangwang/spark,zzcclp/spark,taroplus/spark,cloud-fan/spark,xuanyuanking/spark,hvanhovell/spark,srowen/spark,cloud-fan/spark,apache/spark,dongjoon-hyun/spark,wangmiao1981/spark,WeichenXu123/spark,dongjoon-hyun/spark,milliman/spark,apache/spark,cloud-fan/spark,BryanCutler/spark,vinodkc/spark,milliman/spark,rednaxelafx/apache-spark,chuckchen/spark,zero323/spark,wangmiao1981/spark,srowen/spark,mahak/spark,cloud-fan/spark,JoshRosen/spark,JoshRosen/spark,srowen/spark,taroplus/spark,jiangxb1987/spark,rednaxelafx/apache-spark,holdenk/spark,milliman/spark,nchammas/spark,witgo/spark,shaneknapp/spark,shaneknapp/spark,wangyum/spark,BryanCutler/spark,witgo/spark,zero323/spark,HyukjinKwon/spark,dongjoon-hyun/spark,wangyum/spark,HyukjinKwon/spark,jiangxb1987/spark,wangyum/spark,dongjoon-hyun/spark,hvanhovell/spark,dongjoon-hyun/spark,nchammas/spark,wangmiao1981/spark,zero323/spark,chuckchen/spark,nchammas/spark,BryanCutler/spark,holdenk/spark,JoshRosen/spark,witgo/spark,WeichenXu123/spark,taroplus/spark,xuanyuanking/spark,wangyum/spark,hvanhovell/spark,xuanyuanking/spark,WeichenXu123/spark,maropu/spark,BryanCutler/spark,srowen/spark,wangmiao1981/spark,WeichenXu123/spark,zzcclp/spark,jiangxb1987/spark,gengliangwang/spark,dongjoon-hyun/spark,holdenk/spark,wangyum/spark,HyukjinKwon/spark,gengliangwang/spark,holdenk/spark,chuckchen/spark,zzcclp/spark,mahak/spark,wangyum/spark,ueshin/apache-spark,mahak/spark,taroplus/spark,mahak/spark,apache/spark,rednaxelafx/apache-spark,witgo/spark,vinodkc/spark,apache/spark,vinodkc/spark,rednaxelafx/apache-spark,mahak/spark,shaneknapp/spark,cloud-fan/spark,ueshin/apache-spark,JoshRosen/spark,chuckchen/spark,srowen/spark,rednaxelafx/apache-spark,HyukjinKwon/spark,witgo/spark,hvanhovell/spark,ueshin/apache-spark,JoshRosen/spark,ueshin/apache-spark,cloud-fan/spark,rednaxelafx/apache-spark,apache/spark,nchammas/spark,jiangxb1987/spark,zzcclp/spark,srowen/spark,maropu/spark,dongjoon-hyun/spark,nchammas/spark,nchammas/spark,BryanCutler/spark,BryanCutler/spark,shaneknapp/spark,chuckchen/spark,vinodkc/spark,holdenk/spark,WeichenXu123/spark,zzcclp/spark,milliman/spark,zero323/spark,zero323/spark,maropu/spark,vinodkc/spark,hvanhovell/spark,holdenk/spark,witgo/spark,holdenk/spark,gengliangwang/spark,gengliangwang/spark,xuanyuanking/spark,apache/spark,shaneknapp/spark,vinodkc/spark,cloud-fan/spark,WeichenXu123/spark,maropu/spark,nchammas/spark,milliman/spark,srowen/spark,xuanyuanking/spark