Skip to content

Commit

Permalink
Query for id only
Browse files Browse the repository at this point in the history
  • Loading branch information
jaymedina committed Mar 19, 2024
1 parent 63575a2 commit d5ceab6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/orca/services/synapse/ops.py
Original file line number Diff line number Diff line change
Expand Up @@ -94,10 +94,10 @@ def get_submissions_with_status(

# Get all submissions for the given ``submission_view``
query_results = self.client.tableQuery(
f"select * from {submission_view} where status = '{submission_status}'"
f"select id from {submission_view} where status = '{submission_status}'"
)

submission_ids = query_results.asDataFrame()["id"].tolist()
submission_ids = query_results.asDataFrame().tolist()

return submission_ids

Expand Down

0 comments on commit d5ceab6

Please sign in to comment.