handle SqlFunctions in query result reader