You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Aug 2, 2022. It is now read-only.
SELECT e.name AS employeeName,
COUNT(p.name) AS queryProjectsNum
FROM hr.employeesNest e LEFT JOIN e.projects AS p ON p.name LIKE '%querying%'
WHERE p.name LIKE '%querying%'
GROUP BY e.id, e.name
SQL
Test Data
https://github.com/opendistro-for-elasticsearch/sql/blob/master/src/test/resources/employee_nested.json
Expected Result