improved unknown column handling, better exceptions of unknown function signatures

return null for unknown columns off non-doc tables if row granularity matches
shoudl never happen