jerryshao commented on code in PR #12981:
URL: https://github.com/apache/gravitino/pull/12981#discussion_r3955759686


##########
docs/open-api/jobs.yaml:
##########
@@ -361,7 +361,9 @@ components:
       name: queuedAfter
       in: query
       description: >-
-        Only return jobs queued at or after this ISO-8601 instant (e.g. 
2026-08-18T00:00:00Z)
+        Only return jobs queued at or after this ISO-8601 instant (e.g. 
2026-08-18T00:00:00Z).
+        When combined with startedAfter or finishedAfter, all supplied time 
filters must match
+        (AND semantics)

Review Comment:
   Reworded all three time-filter descriptions to "A job must satisfy all 
supplied time filters (AND semantics), so this combines with one or more of 
...", which removes the exclusive-or reading.
   
   _🤖 Addressed by [Claude Code](https://claude.com/claude-code)_



##########
docs/open-api/jobs.yaml:
##########
@@ -381,15 +384,19 @@ components:
       in: query
       description: >-
         Only return jobs finished at or after this ISO-8601 instant (e.g. 
2026-08-18T00:00:00Z).
-        Jobs that have not finished yet are excluded
+        Jobs that have not finished yet are excluded. When combined with 
queuedAfter or
+        startedAfter, all supplied time filters must match (AND semantics)
       required: false
       schema:
         type: string
         format: date-time
     sortBy:
       name: sortBy
       in: query
-      description: The field to sort the returned jobs by
+      description: >-
+        The field to sort the returned jobs by. Jobs with no value for the 
selected field
+        (e.g. jobs that have not started or finished yet) always sort last, 
for both the asc
+        and desc sort orders

Review Comment:
   Quoted the literal enum values as "asc"/"desc" in both the sortBy and 
sortOrder descriptions.
   
   _🤖 Addressed by [Claude Code](https://claude.com/claude-code)_



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to