Skip to content

[Backport] Fix VirtualColumn related issues in window expressions#15230

Merged
abhishekagarwal87 merged 1 commit into
apache:28.0.0from
kgyrtkirk:backport-15119-to-28.0.0
Oct 23, 2023
Merged

[Backport] Fix VirtualColumn related issues in window expressions#15230
abhishekagarwal87 merged 1 commit into
apache:28.0.0from
kgyrtkirk:backport-15119-to-28.0.0

Conversation

@kgyrtkirk

Copy link
Copy Markdown
Member

Backport of #15119 to 28.0.0.

for some exotic queries like:

  SELECT
  	'_'||dim1,
    MIN(cast(0 as double)) OVER (),
    MIN(cast((cnt||cnt) as bigint)) OVER ()
  FROM foo
the compilation have resulted in NPE -s mostly because VirtualColumn -s were not handled properly

(cherry picked from commit b95035f)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants