[haiyang] finish mapper for select command