See if this helps -
https://stackoverflow.com/questions/42852659/makiing-sql-request-on-columns-containing-dot
enclosing column names in "`"
On Tue, Mar 20, 2018 at 6:47 PM, SNEHASISH DUTTA
wrote:
> Hi,
>
> I am using Spark 2.2 , a table fetched from database contains
Hi,
I am using Spark 2.2 , a table fetched from database contains a (.) dot in
one of the column names.
Whenever I am trying to select that particular column I am getting query
analysis exception.
I have tried creating a temporary table , using createOrReplaceTempView()
and fetch the column's