rql_upload: deal with default values.