fix sql read_frame on duplicate cols