Skip to content

Commit f6f37f1

Browse files
committed
add explainer for AnalyzeIR
1 parent 15013ba commit f6f37f1

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

pkg/sql/codegen/intermediate_representation.go

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -117,6 +117,8 @@ type AnalyzeIR struct {
117117
// "select ... analyze ... with analyze.plot_type = "bar"",
118118
// the Attributes will be {"analyze.plot_type": "bar"}
119119
Attributes map[string]interface{}
120+
// SQLFlow supports TreeExplainer so far.
121+
Explainer string
120122
// TrainIR is the TrainIR used for generating the training job of the corresponding model
121123
TrainIR TrainIR
122124
}

0 commit comments

Comments
 (0)