Skip to content

Commit

Permalink
Apply suggestions from code review
Browse files Browse the repository at this point in the history
Co-authored-by: Aaron Weeden <31246768+aaronweeden@users.noreply.github.com>
  • Loading branch information
eiffel777 and aaronweeden authored Dec 6, 2024
1 parent 9709d5c commit 659a6fc
Showing 1 changed file with 2 additions and 9 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -23,14 +23,14 @@
"end_day_id": "YEAR(FROM_UNIXTIME(e.end_time_ts)) * 100000 + DAYOFYEAR(FROM_UNIXTIME(e.end_time_ts))",
"wallduration": "FLOOR(e.end_time_ts) - FLOOR(e.start_time_ts)",
"person_id": "ev.person_id",
"person_organization_id": "p.organization_id",
"person_organization_id": "COALESCE(p.organization_id, -1)",
"systemaccount_id": "ev.systemaccount_id",
"submission_venue_id": "ev.submission_venue_id",
"domain_id": "ev.domain_id",
"service_provider": "ev.service_provider",
"account_id": "a.account_id",
"principalinvestigator_person_id": "a.principalinvestigator_person_id",
"piperson_organization_id": "pi.organization_id",
"piperson_organization_id": "COALESCE(pi.organization_id, -1)",
"fos_id": "a.fos_id",
"host_id": "ev.host_id",
"instance_state_id": "etype.instance_state_id"
Expand Down Expand Up @@ -78,13 +78,6 @@
"alias": "etype",
"on": "e.start_event_id = etype.event_type_id"
},
{
"name": "resourcefact",
"schema": "${UTILITY_SCHEMA}",
"alias": "r",
"type": "LEFT",
"on": "e.resource_id = r.id"
},
{
"name": "person",
"schema": "${UTILITY_SCHEMA}",
Expand Down

0 comments on commit 659a6fc

Please sign in to comment.