Skip to content

Commit

Permalink
FMWK-559-read-after-parameter
Browse files Browse the repository at this point in the history
- fixed no udf flag
  • Loading branch information
filkeith committed Oct 1, 2024
1 parent 4f0fe70 commit 3890ef9
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions cmd/internal/app/configs.go
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,7 @@ func mapBackupConfig(
c.NoIndexes = commonParams.NoIndexes
c.RecordsPerSecond = commonParams.RecordsPerSecond
c.FileLimit = backupParams.FileLimit
c.NoUDFs = commonParams.NoUDFs
// The original backup tools have a single parallelism configuration property.
// We may consider splitting the configuration in the future.
c.ParallelWrite = commonParams.Parallel
Expand Down Expand Up @@ -128,6 +129,7 @@ func mapRestoreConfig(
c.BinList = splitByComma(commonParams.BinList)
c.NoRecords = commonParams.NoRecords
c.NoIndexes = commonParams.NoIndexes
c.NoUDFs = commonParams.NoUDFs
c.RecordsPerSecond = commonParams.RecordsPerSecond
c.Parallel = commonParams.Parallel
c.WritePolicy = mapWritePolicy(restoreParams, commonParams)
Expand Down

0 comments on commit 3890ef9

Please sign in to comment.