Skip to content

BFD-4831: Add ORDER BY clause to phase 1 prune query - #3231

Merged
JFisk42 merged 1 commit into
masterfrom
4349-deux
Jul 29, 2026
Merged

BFD-4831: Add ORDER BY clause to phase 1 prune query#3231
JFisk42 merged 1 commit into
masterfrom
4349-deux

Conversation

@JFisk42

@JFisk42 JFisk42 commented Jul 29, 2026

Copy link
Copy Markdown
Contributor

JIRA Ticket:
BFD-4831

What Does This PR Do?

Adds an ORDER BY clause to the query to ensure that it is deterministic.

What Should Reviewers Watch For?

Ensure the SQL query is still functionally valid.

What Security Implications Does This PR Have?

Please indicate if this PR does any of the following:

  • Adds any new software dependencies

  • Modifies any security controls

  • Adds new transmission or storage of data

  • Any other changes that could possibly affect security?

  • I have considered the above security implications as it relates to this PR. (If one or more of the above apply, it cannot be merged without the ISSO or team security engineer's (@sb-benohe) approval.)

  • I have created tests to sufficiently ensure the reliability of my code, if applicable. If this is a modification to an existing piece of code, I have audited the associated tests to ensure everything works as expected.

Validation

Pipeline tests still pass

@JFisk42
JFisk42 marked this pull request as ready for review July 29, 2026 20:50
@JFisk42 JFisk42 changed the title Add ORDER BY clause to phase 1 prune query BFD-4831: Add ORDER BY clause to phase 1 prune query Jul 29, 2026
@bfd-sast

bfd-sast Bot commented Jul 29, 2026

Copy link
Copy Markdown

Quality Gate passed Quality Gate passed for 'bfd-parent'

Issues
0 New issues
0 Fixed issues
0 Accepted issues

Measures
0 Security Hotspots
No data about Coverage
No data about Duplication

See analysis details on SonarQube

@JFisk42
JFisk42 added this pull request to the merge queue Jul 29, 2026
Merged via the queue into master with commit 63241b6 Jul 29, 2026
13 checks passed
@JFisk42
JFisk42 deleted the 4349-deux branch July 29, 2026 21:53
WHERE clm.clm_uniq_id = item.clm_uniq_id
AND item.bfd_updated_ts >= %s
)
ORDER BY clm.clm_uniq_id

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Does this still cause performance issues? We observed this a few weeks ago.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants