Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-12-2022 11:18 PM
Hi @Mohammad Saber
The issue is because the column name is similar to a literal value and it is taking that constant value for all the keys provided.
To avoid this you can give more proper column names like below.
Else if you have a way where you can explicitly say to spark that 2018 is the column value and not a literal, you can try that too..
Hope this helps...
Cheers
Uma Mahesh D