I did add the test for built in function operating on column ref. See testRowValueConstructorWithBuiltInFunctionOperatingOnColumnRefOnLHS. 

I am seeing the bug when the rvc is on lhs and function operating on column ref in RHS.