cdisc-org / cdisc-org/cdisc-rules-engine

Migrate SQL Rule Type to use postgresql (after sql refactor)

Open
#1,341 0 comments 0 reactions 0 assignees View on GitHub
SQL
Dominant language
Python
Stars
113
Forks
43
Avg merge
14h 51m
Merged PRs (30d)
14

Description

SQL Rule Type will initially use duckdb to execute queries. After the refactor, we can switch to using postgresql which will replace pandas/dask.

This will involve converting any duckdb flavor sql to postgresql flavor.

Contributor guide

Open the contributing guide

Research direction

Start by locating the SQL Rule Type and reviewing the referenced SQL refactor. Identify where DuckDB execution and pandas/dask usage are handled, then determine the PostgreSQL flavor conversions required. Done means the refactored SQL Rule Type executes through PostgreSQL and no longer relies on DuckDB for this path.

Written by the indexing model from the issue text.

Assessment

Tech stack
pandas, postgresql, python
Domain
databases
Issue type
Refactor
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.