Skip to content

[CALCITE-5390] RelDecorrelator throws NullPointerException#4776

Open
iwanttobepowerful wants to merge 3 commits intoapache:mainfrom
iwanttobepowerful:calcite5390
Open

[CALCITE-5390] RelDecorrelator throws NullPointerException#4776
iwanttobepowerful wants to merge 3 commits intoapache:mainfrom
iwanttobepowerful:calcite5390

Conversation

@iwanttobepowerful
Copy link
Contributor

@iwanttobepowerful iwanttobepowerful commented Jan 28, 2026

@iwanttobepowerful
Copy link
Contributor Author

I think the frameStack introduced by @suibianwanwank simulates the de Bruijn indexes mentioned by @julianhyde .

return map.get(r);
}

private RelNode getCorRel(CorRef corVar) {
Copy link
Contributor Author

Choose a reason for hiding this comment

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

We might be able to delete getCorRel. I found during debugging that this function is never reached anymore.

@sonarqubecloud
Copy link

!ok

# [CALCITE-5390] RelDecorrelator throws NullPointerException
# Verified against PostgreSQL. https://onecompiler.com/postgresql/44bxgutg4
Copy link
Member

Choose a reason for hiding this comment

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

I think you can just mark it as verified using pgsql. This link doesn't seem to be permanent and may expire at some point in the future, so please don't add the link.

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.

3 participants