当前查询
CREATE OR REPLACE STREAM "DESTINATION_SQL_STREAM" (failedCount INTEGER);
CREATE OR REPLACE PUMP "STREAM_PUMP" AS INSERT INTO "DESTINATION_SQL_STREAM"
SELECT STREAM COUNT("fxStatus") as failedCount
FROM "SOURCE_SQL_STREAM_001"
GROUP BY "fxStatus" WHERE "fxStatus" SIMILAR TO 'FAILED' ;
错误
无法聚合无限流:未指定GROUP BY子句或不包含任何单调表达式。
我在做什么错了?