Skip to content

Comments

Fix #389 by removing parentheses in CTAS with ORDER BY on InterSystems IRIS#390

Merged
schuemie merged 4 commits intoOHDSI:developfrom
intersystems-community:develop
Oct 13, 2025
Merged

Fix #389 by removing parentheses in CTAS with ORDER BY on InterSystems IRIS#390
schuemie merged 4 commits intoOHDSI:developfrom
intersystems-community:develop

Conversation

@bdeboe
Copy link
Contributor

@bdeboe bdeboe commented Sep 29, 2025

This change fixes #389 , which highlights an issue with InterSystems IRIS not supporting specific use of parentheses in CREATE TABLE AS SELECT statements using an ORDER BY by adding a rewrite rule that removes the offending parentheses.

I also added a simple unit test to validate this rewrite rule.

@codecov
Copy link

codecov bot commented Sep 29, 2025

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 79.74%. Comparing base (97eb3b4) to head (a76985c).
⚠️ Report is 5 commits behind head on develop.

Additional details and impacted files
@@           Coverage Diff            @@
##           develop     #390   +/-   ##
========================================
  Coverage    79.74%   79.74%           
========================================
  Files            5        5           
  Lines          395      395           
========================================
  Hits           315      315           
  Misses          80       80           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@schuemie schuemie merged commit 07deef2 into OHDSI:develop Oct 13, 2025
6 checks passed
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.

2 participants