Dynamically generates column definitions