Skip to content

[Bug] coalesce should return a column with copied data #17588

@zhannngchen

Description

@zhannngchen

Search before asking

  • I had searched in the issues and found no similar issues.

Version

master

What's Wrong?

see issue #17587, it's caused by coalesce function. e.g. app_id = coalesce(appid, "")
coalesce returned an new result column, which holds a reference to another original column in schema. The new result column is inserted into a dest column, and src block cleared the original column's data, the result column's data is cleared as well.

What You Expected?

coalesce should return a copied column

How to Reproduce?

No response

Anything Else?

No response

Are you willing to submit PR?

  • Yes I am willing to submit a PR!

Code of Conduct

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions