What if you move your addition to before line 64 (in master branch there is case for if e.checkInputDataTypes().isFailure):
case c: Cast if !c.resolved => Cheers On Wed, Jul 15, 2015 at 12:47 AM, Takeshi Yamamuro <linguin....@gmail.com> wrote: > Hi, devs > > I found that the case of 'Expression.resolved != > (Expression.childrenResolved && checkInputDataTypes().isSuccess)' > occurs in the output of Analyzer. > That is, some tests in o.a.s.sql.* fail if the codes below are added in > CheckAnalysis: > > > https://github.com/maropu/spark/commit/a488eee8351f5ec49854eef0266e4445269d5867 > > Is this a correct behaviour in catalyst? > If correct, anyone explains the case if this happens? > > Thanks, > takeshi > > -- > --- > Takeshi Yamamuro (maropu) >