Hacktoberfest 2026: the issues maintainers tagged for October, open and beginner-friendly. Browse Hacktoberfest issues

TABLE pivoted_oasis

Open Beginner friendly
#830 6 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
2/5
Estimated time
1-3 hours
Newbie friendliness
64/100
Issue type
Bug
Clarity
Mostly clear
Activity status
Quiet
Tech stack
postgresql, sql
Domain
databases

Research direction

Locate the query that creates TABLE pivoted_oasis and inspect its PostgreSQL dependencies, including the surgflag relation and both ventdurations joins. Correct the missing relation or view and the inconsistent ventdurations aliases, then run the query to confirm that pivoted_oasis is created successfully.

Written by the indexing model from the issue text.

Description

bug mimic-iii
Prerequisites
Description

Hello,
I found a problem when creating the TABLE pivoted_oasis in PostgreSQL. There is no previous table or view for the relation surgflag sf. I have not seen it included in the views required to run this query. Also, there are two left joins performed with the table ventdurations. They are referenced by two different initials but then the left join is made with different initials (ventdurations vd1 on co.icustay_id = vd.icustay_id, and ventdurations vd2 on co.icustay_id = vd.icustay_id), which has to be corrected in order to run the query.

Thank you.

Dominant language
Jupyter Notebook
Stars
3.4k
Forks
1.7k
PR merge metrics
No merged PRs in 30d

Getting set up

We have not checked this project's setup files yet. Start from its README, and see our first-contribution guide for the general steps.

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from MIT-LCP/mimic-code

All issues in MIT-LCP/mimic-code

Similar issues

More Databases issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.