Re: String operation in filter with a special character

2015-10-05 Thread Michael Armbrust
Double quotes (") are used to create string literals in HiveQL / Spark SQL. So you are asking if the string A+B equals the number 2.0. You should use backticks (`) to escape weird characters in column names. On Mon, Oct 5, 2015 at 12:59 AM, Hemminger Jeff wrote: > I have a

String operation in filter with a special character

2015-10-05 Thread Hemminger Jeff
I have a rather odd use case. I have a DataFrame column name with a + value in it. The app performs some processing steps before determining the column name, and it would be much easier to code if I could use the DataFrame filter operations with a String. This demonstrates the issue I am having:

Re: String operation in filter with a special character

2015-10-05 Thread Hemminger Jeff
Thank you! On Tue, Oct 6, 2015 at 4:50 AM, Michael Armbrust wrote: > Double quotes (") are used to create string literals in HiveQL / Spark > SQL. So you are asking if the string A+B equals the number 2.0. > > You should use backticks (`) to escape weird characters in