Skip to content

Commit 382ee37

Browse files
committed
comment out
1 parent 00f9218 commit 382ee37

File tree

1 file changed

+5
-6
lines changed

1 file changed

+5
-6
lines changed

sql/expression/tablefunction/table_function.go

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -85,12 +85,11 @@ func (t *TableFunctionWrapper) RowIter(ctx *sql.Context, r sql.Row) (sql.RowIter
8585
if err != nil {
8686
return nil, err
8787
}
88-
switch ri := v.(type) {
89-
case sql.RowIter:
90-
return ri, nil
91-
default:
92-
return sql.RowsToRowIter(sql.Row{v}), nil
93-
}
88+
// TODO
89+
//if ri, ok := v.(sql.RowIter); ok {
90+
// return ri, nil
91+
//}
92+
return sql.RowsToRowIter(sql.Row{v}), nil
9493
}
9594

9695
func (t *TableFunctionWrapper) Resolved() bool {

0 commit comments

Comments
 (0)