Improve TREAT handling

Description

TREAT should be journaled into the respective FromElement along with some concept of where it came from, because ultimately that affects its rendering into SQL.

For TREAT in SELECT we may need a wrapper; see

Environment

None

Status

Assignee

Unassigned

Reporter

Steve Ebersole

Fix versions

Labels

None

backPortable

None

Suitable for new contributors

None

Requires Release Note

None

Pull Request

None

backportDecision

None

Components

Priority

Major
Configure