Skip to content

Commit b8cfa85

Browse files
committed
fix import datasets and v0.0.7
1 parent 634fdd4 commit b8cfa85

File tree

4 files changed

+5
-4
lines changed

4 files changed

+5
-4
lines changed

cmd/import.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ This command is useful for quickly onboarding data from external systems, allowi
5252

5353
fmt.Printf("found %d datasets in %s to import: %v\n", len(datasets), curDataSource, datasets)
5454

55-
ds := app.FindDataSourceById(dataSource)
55+
ds := app.FindDataSourceById(curDataSource)
5656
if ds != nil {
5757
ds.Datasets = datasets
5858
}
@@ -63,7 +63,7 @@ This command is useful for quickly onboarding data from external systems, allowi
6363
if err != nil {
6464
return err
6565
}
66-
fmt.Println("dbq config has been updated")
66+
fmt.Println("dbqctl config has been updated")
6767
}
6868

6969
return nil

cmd/profile.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -55,6 +55,7 @@ and helps in making better decisions about data processing and analysis.
5555
}
5656

5757
for _, curDataSet := range dataSetsToProfile {
58+
fmt.Printf("Profiling '%s', this may take some time...\n", curDataSet)
5859
metrics, err := app.ProfileDataset(dataSource, curDataSet, sample)
5960
if err != nil {
6061
fmt.Printf("Failed to profile %s: %s\n", curDataSet, err)

cmd/version.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ import (
2222
)
2323

2424
const (
25-
DbqCtlVersion = "v0.0.6"
25+
DbqCtlVersion = "v0.0.7"
2626
)
2727

2828
func NewVersionCommand() *cobra.Command {

go.mod

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ module github.com/DataBridgeTech/dbqctl
33
go 1.24.2
44

55
require (
6-
github.com/DataBridgeTech/dbqcore v0.0.2
6+
github.com/DataBridgeTech/dbqcore v0.0.3
77
github.com/spf13/cobra v1.9.1
88
github.com/spf13/pflag v1.0.6
99
github.com/spf13/viper v1.20.1

0 commit comments

Comments
 (0)