0
我想申請在essper此查詢外連接:艾斯波留給子查詢
select a.partA, b.partB, b.count from call.win:time_batch(_WINDOW_) as a
left outer join (select count(*) count, partA from
call.win:time_batch(_WINDOW_) group by partA) b on a.partA = b.partA
,但我得到異常
產生的原因:com.espertech.esper.client.EPStatementSyntaxException: '('('select'是保留關鍵字)在第1行第96列附近有錯誤的語法,請檢查保留關鍵字'select'附近的from子句中的外連接[select a.partA,b.partB,b.count from call.win:time_batch(WINDOW)作爲左外連接(select count(*)count,partA from call.win:time_batch( WINDOW)的A部分組),B關於a.partA = b.partA]
呼叫我eventTypeName
看來,查詢試圖完成這一點:部分A從call.win:time_batch(_WINDOW_)組中選擇partA,partB,count(*)組 – user650839