Pārlūkot izejas kodu

fix(graph): support script node in agg (#2173)

Signed-off-by: Jiyong Huang <huangjy@emqx.io>
ngjaying 1 gadu atpakaļ
vecāks
revīzija
f4ca8ab8cd
1 mainītis faili ar 1 papildinājumiem un 1 dzēšanām
  1. 1 1
      internal/topo/graph/io.go

+ 1 - 1
internal/topo/graph/io.go

@@ -160,7 +160,7 @@ var OpIO = map[string][]*IOType{
 		{Type: IOINPUT_TYPE_SAME},
 	},
 	"script": {
-		{Type: IOINPUT_TYPE_ROW, RowType: IOROW_TYPE_ANY, CollectionType: IOCOLLECTION_TYPE_ANY},
+		{Type: IOINPUT_TYPE_ANY, RowType: IOROW_TYPE_ANY, CollectionType: IOCOLLECTION_TYPE_ANY},
 		{Type: IOINPUT_TYPE_SAME},
 	},
 }