Fetch table columns from metadata