Skip to content

Commit 3c5c411

Browse files
authored
cleanup unused print (#791)
1 parent 41c96e2 commit 3c5c411

2 files changed

Lines changed: 1 addition & 3 deletions

File tree

sql/codegen_xgboost_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ const testAnalyzeTreeModelSelectIris = `
3636
SELECT * FROM iris.train
3737
ANALYZE sqlflow_models.my_xgboost_model
3838
USING TreeExplainer;
39-
`
39+
`
4040

4141
func TestXGBFiller(t *testing.T) {
4242
a := assert.New(t)

sql/expression_resolver.go

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -120,7 +120,6 @@ func getStringAttr(attrs map[string]*attribute, key string, defaultValue string)
120120
strVal, _ := p.Value.(string)
121121
defer delete(attrs, p.FullName)
122122
return trimQuotes(strVal)
123-
fmt.Printf("ignore invalid %s=%s, default is %v", key, p.Value, defaultValue)
124123
}
125124
return defaultValue
126125
}
@@ -130,7 +129,6 @@ func getStringsAttr(attrs map[string]*attribute, key string, defaultValue []stri
130129
strVal, _ := p.Value.(string)
131130
defer delete(attrs, p.FullName)
132131
return strings.Split(trimQuotes(strVal), ",")
133-
fmt.Printf("ignore invalid %s=%s, default is %v", key, p.Value, defaultValue)
134132
}
135133
return defaultValue
136134
}

0 commit comments

Comments
 (0)