mapColumn and flatMapColumns