   "
   [{:keys [tenant-conn claims] :as deps}
    {:keys [job-execution-id transformation data-groups]}
-   {:keys [previous-columns columns data-groups-to-be-created data-group dataset-version]}]
+   {:keys [columns data-groups-to-be-created data-group dataset-version]}]
   (let [new-dataset-version-id (str (util/squuid))]
     (db.dataset-version/new-dataset-version-2 tenant-conn {:id               new-dataset-version-id
                                                            :dataset-id       (:dataset-id transformation)

                                     (set (map #(get % "columnName") columns)))))]
        (if avoid-tranformation?
          (recur (rest transformations) data-groups applied-txs)
          (let [{:keys [data-groups-to-be-created columns previous-columns data-group] :as op}
                (try
                  (try-apply-operation-2 {:tenant-conn conn :caddisfly caddisfly}
                                         {:data-group data-group

      (throw (ex-info (or message "") {:transformation-result (select-keys res [:success? :message :columns :execution-log])})))
    {:data-groups-to-be-created (or data-groups-to-be-created [])
     :columns columns
     :data-group data-group}))

(defn adapt [data-groups-to-be-created data-groups]
