protection against empty select, prefix all fields in buildColumns