Skip to content

Conversation

@kb42
Copy link
Contributor

@kb42 kb42 commented Aug 18, 2025

The following PR fixes issue #135

sf_bq236: Clarified ambiguous time period from "past 10 years" to "from 2014 to 2024 (11-year period)" to match the concrete date range used in the gold query. The original phrasing was problematic because "past 10 years" would produce different results depending on when the query is executed.

sf_bq320: Fixed incorrect count logic that was returning 214 instead of the expected 39. Changed from COUNT(*) to COUNT(DISTINCT "StudyInstanceUID") and corrected string matching from LIKE to exact equality (=). The original query was counting all records matching the StudyInstanceUID criteria rather than counting unique StudyInstanceUID values that meet the intersection conditions. This query has been tested in snowflake to verify accuracy as well.

@kb42
Copy link
Contributor Author

kb42 commented Aug 20, 2025

@lfy79001 Hello! Please take a look at this PR at your earliest convenience as it fixes the two issues that were mentioned in the issue #135 by kuku-forum. I hope this alleviates some bug fixing work that needed to be done by the team. Thanks in advance!

@kb42
Copy link
Contributor Author

kb42 commented Oct 8, 2025

Hello, any updates on this issue? Please let me know if there's anything I need to change

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.

1 participant