[SPARK-37686][PYTHON][SQL] Use _invoke_function helpers for all pyspark.sql.functions
[SPARK-37686][PYTHON][SQL] Use _invoke_function helpers for all pyspark.sql.functions

### What changes were proposed in this pull request?

This PR proposes conversion of functions not covered by SPARK-32084 to `_invoke_functions` style.

Two new `_invoke` functions where added:

- `_invoke_function_over_columns`
- `_invoke_function_over_seq_of_columns`

to address common examples.

### Why are the changes needed?

To reduce boilerplate (especially related to type checking) and improve manageability.

Additionally, it opens opportunity for reducing driver-side invocation latency.

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

No.

### How was this patch tested?

Existing tests.

Closes #34951 from zero323/SPARK-37686.

Authored-by: zero323 <0f81822ec43dc7f424811d0a422871ea124aa3dd@gmail.com>
Signed-off-by: zero323 <0f81822ec43dc7f424811d0a422871ea124aa3dd@gmail.com>

srowen/spark,shaneknapp/spark,vinodkc/spark,xuanyuanking/spark,mahak/spark,shaneknapp/spark,apache/spark,ueshin/apache-spark,xuanyuanking/spark,zzcclp/spark,witgo/spark,WeichenXu123/spark,cloud-fan/spark,xuanyuanking/spark,HyukjinKwon/spark,mahak/spark,zzcclp/spark,nchammas/spark,dongjoon-hyun/spark,JoshRosen/spark,hvanhovell/spark,ueshin/apache-spark,shaneknapp/spark,vinodkc/spark,wangyum/spark,hvanhovell/spark,zero323/spark,wangyum/spark,wangyum/spark,srowen/spark,nchammas/spark,JoshRosen/spark,JoshRosen/spark,mahak/spark,srowen/spark,HyukjinKwon/spark,zero323/spark,cloud-fan/spark,wangyum/spark,nchammas/spark,ueshin/apache-spark,ueshin/apache-spark,gengliangwang/spark,ueshin/apache-spark,ueshin/apache-spark,zzcclp/spark,nchammas/spark,zero323/spark,gengliangwang/spark,WeichenXu123/spark,HyukjinKwon/spark,HyukjinKwon/spark,ueshin/apache-spark,vinodkc/spark,holdenk/spark,wangyum/spark,witgo/spark,witgo/spark,zero323/spark,zero323/spark,holdenk/spark,dongjoon-hyun/spark,apache/spark,srowen/spark,vinodkc/spark,apache/spark,srowen/spark,wangyum/spark,holdenk/spark,JoshRosen/spark,mahak/spark,xuanyuanking/spark,cloud-fan/spark,WeichenXu123/spark,dongjoon-hyun/spark,apache/spark,rednaxelafx/apache-spark,dongjoon-hyun/spark,rednaxelafx/apache-spark,zzcclp/spark,WeichenXu123/spark,HyukjinKwon/spark,rednaxelafx/apache-spark,dongjoon-hyun/spark,witgo/spark,JoshRosen/spark,vinodkc/spark,mahak/spark,HyukjinKwon/spark,shaneknapp/spark,WeichenXu123/spark,mahak/spark,vinodkc/spark,zero323/spark,cloud-fan/spark,witgo/spark,cloud-fan/spark,xuanyuanking/spark,holdenk/spark,WeichenXu123/spark,hvanhovell/spark,shaneknapp/spark,rednaxelafx/apache-spark,hvanhovell/spark,dongjoon-hyun/spark,cloud-fan/spark,nchammas/spark,xuanyuanking/spark,mahak/spark,gengliangwang/spark,witgo/spark,hvanhovell/spark,gengliangwang/spark,shaneknapp/spark,JoshRosen/spark,vinodkc/spark,gengliangwang/spark,apache/spark,WeichenXu123/spark,zzcclp/spark,hvanhovell/spark,rednaxelafx/apache-spark,holdenk/spark,dongjoon-hyun/spark,holdenk/spark,rednaxelafx/apache-spark,zero323/spark,nchammas/spark,nchammas/spark,apache/spark,HyukjinKwon/spark,wangyum/spark,JoshRosen/spark,srowen/spark,apache/spark,gengliangwang/spark,shaneknapp/spark,srowen/spark,gengliangwang/spark,hvanhovell/spark,witgo/spark,holdenk/spark,cloud-fan/spark,zzcclp/spark,rednaxelafx/apache-spark,zzcclp/spark,xuanyuanking/spark