Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

POC-863: corrected list #1411

Merged
merged 2 commits into from
Oct 9, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@
}
},
{
"table": "( select max(is_successful_phone_follow_up) as latest_phone_follow_up, person_id, follow_up_type from etl.pre_appointment_summary group by person_id )",
"table": "(SELECT MAX(is_successful_phone_follow_up) AS latest_phone_follow_up, person_id, follow_up_type FROM etl.pre_appointment_summary WHERE elastic_id IN (SELECT MAX(elastic_id) AS id FROM etl.pre_appointment_summary GROUP BY person_id) GROUP BY person_id)",
"alias": "s",
"join": {
"type": "LEFT",
Expand Down
Loading