[1.6] Coalesce/binary operator on casted named column

2016-01-15 Thread Robert Kruszewski
Hi Spark devs, I have been debugging failing unit test in our application and it led me to believe that the bug is in spark itself. The exception I am getting is org.apache.spark.sql.catalyst.analysis.UnresolvedException: Invalid call to dataType on unresolved object, tree: unresolvedalias(cast(

Re: [1.6] Coalesce/binary operator on casted named column

2016-01-17 Thread Reynold Xin
To close the loop: JIRA filed: https://issues.apache.org/jira/browse/SPARK-12841 Patch created (to be merged): https://github.com/apache/spark/pull/10781 On Fri, Jan 15, 2016 at 8:54 AM, Robert Kruszewski wrote: > Hi Spark devs, > > I have been debugging failing unit test in our application