improved unknown column handling, better exceptions of unknown function signatures

return null for unknown columns off non-doc tables if row granularity matches
see my comment, acutally it would be possible to check the granularity here