Polymorphic query for InheritanceType.TABLE_PER_CLASS is not using UNION ALL

Description

The user guide says that the polymorphic query for InheritanceType.TABLE_PER_CLASS is using UNION ALL to union all of the subclass tables. However, after some experiments, I found that the query is actually using UNION instead of UNION ALL.

I am not sure which one is the desired behavior, but I will submit a PR to correct the user guide.

Environment

None

Status

Assignee

Vlad Mihalcea

Reporter

林自均

Fix versions

Labels

None

backPortable

Backport?

Suitable for new contributors

None

Requires Release Note

None

Pull Request

None

backportDecision

None

Components

Affects versions

Priority

Minor
Configure