Re: How can I use backticks in column names?

2022-12-05 Thread Bjørn Jørgensen
df = spark.createDataFrame( [("china", "asia"), ("colombia", "south america`")], ["country", "continent`"] ) df.show() ++--+ | country|continent`| ++--+ | china| asia| |colombia|south america`| ++--+ df.select("

How can I use backticks in column names?

2022-12-04 Thread 한승후
Spark throws an exception if there are backticks in the column name. Please help me.