Re: spark jdbc

2021-12-17 Thread Sean Owen
I'm not sure we want to do that. If you "SELECT foo AS bar", then the column name is foo but the column label is bar. We probably want to return the latter. On Fri, Dec 17, 2021 at 9:07 AM Gary Liu wrote: > In spark sql jdbc module, it's using getColumnLabel to get column names > from the

spark jdbc

2021-12-17 Thread Gary Liu
In spark sql jdbc module, it's using getColumnLabel to get column names from the remote database, but in some databases, like SAS, it returns column description instead. Should getColumnName be used? This is from the SAS technical support: In the documentation,