columns from schema, closes #546
check for rows