QoQ column exception, includes the source query sql, not the QoQ sql

Description

if the QoQ select parser encounters a column which doesn't exist, an exception is thrown, but it includes the source query's SQL (which does't have the column) SQL, rather than the QoQ SQL, which is confusing

https://github.com/lucee/Lucee/blob/5.3/core/src/main/java/lucee/runtime/sql/SelectParser.java#L57

https://github.com/lucee/Lucee/blob/5.3/core/src/main/java/lucee/runtime/type/QueryImpl.java#L1296

this only shows up with QoQ debugging enabled with the changes LDEV-3042

Environment

None

Activity

Show:
Pothys - MitrahSoft
October 15, 2020, 4:32 PM

I've checked this ticket with lucee affected and latest version 5.3.8.82-SNAPSHOT also. But I could not able to reproduce the issue. If possible could you please share the test file?

Assignee

Pothys - MitrahSoft

Reporter

Zac Spitzer

Priority

New

Labels

Fix versions

None

Affects versions

Configure