running spark sql in aws glue returns the column name in the queries
data:
product,price,quantityinKG
mango,100,1
apple,200,3
peach,200,2
mango,200,2
My Test Query
eg : select product,sum(price)
from myDataSource
group by product
The output of the query should be
product, sum(price)
mango, 300
but output is :
product, "sum(price)"
mango,
There is nothing in the sum(price) column it only has the product nane , please can you help me with this behaviour of glue