Reputation: 208
I have a column named in this structure - 'abx-abc-123.A1.OP'
but when I run this command
final_merged_df.select('abx-abc-123.A1.OP')
I'm getting 'cannot resolve 'abx-abc-123.A1.OP
' given input columns: [abx-abc-123.A1.OP,column2,column3]' error.
Upvotes: 0
Views: 38
Reputation: 1779
You need to add these marks around such column names
final_merged_df.select('`abx-abc-123.A1.OP`')
Upvotes: 0