Skip to content

Commit

Permalink
🔊 Log before analyzing data
Browse files Browse the repository at this point in the history
  • Loading branch information
gabe565 committed Mar 11, 2022
1 parent 9ca752f commit 80014f3
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions cmd/restore/restore.go
Original file line number Diff line number Diff line change
Expand Up @@ -125,6 +125,7 @@ func run(cmd *cobra.Command, args []string) (err error) {
}

if conf.Grammar.AnalyzeQuery() != "" {
log.Info("analyzing data")
analyzeReader := strings.NewReader(conf.Grammar.AnalyzeQuery())
err = conf.Client.Exec(conf.Pod, buildCommand(conf.Grammar, conf, sqlformat.Plain, false), analyzeReader, os.Stdout, false)
if err != nil {
Expand Down

0 comments on commit 80014f3

Please sign in to comment.