Skip to content

[Bug]: Executing a query that includes "select .. group by .. union all select .." results in a core dump #4762

@getiancheng

Description

@getiancheng

What happened?

create table test_group
(
	TypeFlag varchar(100)
);
insert into test_group values (30),(7),(10);
GO

select 
	TypeFlag -- varchar(100)
from test_group 
	group by typeflag -- coredump(signal 11)
	-- group by typeflag -- ok!
union all
select 40 as TypeFlag; -- int
GO

When executing the above SQL statement with the "group by typeflag" clause, the database crashed due to signal 11

Image

Version

BABEL_5_X_DEV (Default)

Extension

None

Which flavor of Linux are you using when you see the bug?

Ubuntu (Default)

Relevant log output

Code of Conduct

  • I agree to follow this project's Code of Conduct.

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions