private function renameSetFields(Query $query, $columnNames, $originalSource, $newSource) {
        $renamedFields = [];
        foreach ($query->getFields() as $field => $value) {
            $newName = $this->getFieldNewName($field, $columnNames, $originalSource, $newSource);
            if($newName != null) {
                $renamedFields[$newName] = $value;
            }
        }
        $query->fields($renamedFields);
    }