spark-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Sean Owen <>
Subject Re: Set comparison
Date Mon, 16 Jun 2014 21:21:15 GMT
On Mon, Jun 16, 2014 at 10:09 PM, SK <> wrote:
> The value returned by the method is almost same as expected output, but the
> verification is failing. I am not sure why the expected_res in Line 5 does
> not print the quotes even though Line 1 has them. Could  that be the reason
> the comparison is failing? What is the right way to do the above
> comparison?
Most likely because the strings in set_val do actually start and end with
double-quotes? That is just what the output suggests. It has a string like
"ID1", not ID1

View raw message