ryan
06/03/2022, 7:58 PMSELECT marketValue,
marketPercent,
d_as_at_date,
monthly
FROM qMonthlyPortfolioSum
GROUP BY monthly
ORDER BY d_as_at_date
My colleague is stating that he receives the following error:
Not in aggregate function or group by clause: org.hsqldb.Expression@6b6ba733 in statement [SELECT marketValue, marketPercent, d_as_at_date, monthly FROM qMonthlyPortfolioSum GROUP BY monthly ORDER BY d_as_at_date]
I cannot figure out why he is receiving an error when I am not on the query of query when we both have the same version of MySQL.
I then looked in the Lucee Admin and noticed that the driver installed is version 8.0.28. I attempted to down grade MySQL Application to the highest version 5 available, which is version 5.1.40 and also version 6, but anything lower than 8.0.19 errors when validating the datasource in Lucee Admin. There is not a version 5.7 available to choose in the list of MySQL drivers for Lucee.
I have even put the query of query together with the real query and executed the script against MySQL 5.7 the DBMS and it runs fine outside of Lucee as well.
Would anyone have any sort of ideas as to the discrepancies between the errors on the local environments? Is it possible that I may not be running MySQL in some kind of restrictive mode and that maybe my colleague might have something restricted that would cause an error on his side?Scott Steinbeck
06/03/2022, 9:34 PMScott Steinbeck
06/03/2022, 9:36 PMScott Steinbeck
06/03/2022, 9:38 PMryan
06/03/2022, 9:39 PMryan
06/03/2022, 9:39 PMryan
06/03/2022, 9:40 PMScott Steinbeck
06/03/2022, 9:40 PMryan
06/03/2022, 9:41 PMryan
06/03/2022, 9:41 PMScott Steinbeck
06/03/2022, 9:42 PMorg.hsqldb.Expression
means that its getting passed to the in memory database for processing. (some queries are completely run internally with java instead of hsql)ryan
06/03/2022, 9:42 PMryan
06/03/2022, 9:43 PMryan
06/03/2022, 9:44 PMryan
06/03/2022, 9:44 PMScott Steinbeck
06/03/2022, 9:44 PMhsqldb
ryan
06/03/2022, 9:45 PMryan
06/03/2022, 9:46 PMryan
06/03/2022, 9:46 PMScott Steinbeck
06/03/2022, 9:46 PMbdw429s
06/03/2022, 10:03 PMqueryNew()
bdw429s
06/03/2022, 10:04 PMbdw429s
06/03/2022, 10:06 PMbdw429s
06/03/2022, 10:06 PMbdw429s
06/03/2022, 10:07 PMbdw429s
06/03/2022, 10:10 PMbdw429s
06/03/2022, 10:10 PMbdw429s
06/03/2022, 10:16 PMryan
06/03/2022, 10:18 PMbdw429s
06/03/2022, 10:18 PMbdw429s
06/03/2022, 10:18 PMryan
06/03/2022, 10:18 PMbdw429s
06/03/2022, 10:19 PMbdw429s
06/03/2022, 10:19 PMryan
06/03/2022, 10:19 PMbdw429s
06/03/2022, 10:19 PMryan
06/03/2022, 10:20 PMbdw429s
06/03/2022, 10:20 PMbdw429s
06/03/2022, 10:20 PMryan
06/03/2022, 10:20 PMbdw429s
06/03/2022, 10:20 PMbdw429s
06/03/2022, 10:20 PMbdw429s
06/03/2022, 10:21 PMbdw429s
06/03/2022, 10:21 PMbdw429s
06/03/2022, 10:21 PMbdw429s
06/03/2022, 10:21 PMbdw429s
06/03/2022, 10:22 PMryan
06/03/2022, 10:22 PMScott Steinbeck
06/03/2022, 10:22 PMryan
06/03/2022, 10:23 PMbdw429s
06/03/2022, 10:23 PMScott Steinbeck
06/03/2022, 10:23 PMryan
06/03/2022, 10:29 PMryan
06/03/2022, 10:29 PMbdw429s
06/03/2022, 10:30 PMbdw429s
06/03/2022, 10:30 PMryan
06/03/2022, 10:30 PMryan
06/03/2022, 10:31 PMryan
06/03/2022, 10:37 PMryan
06/03/2022, 10:38 PM