384 lines
33 KiB
Plaintext
384 lines
33 KiB
Plaintext
2024-05-10 15:47:21.722955+04:00 jdbc[13]: exception
|
|
org.h2.jdbc.JdbcSQLSyntaxErrorException: Синтаксическая ошибка в выражении SQL "SELECT * FROM ITEMS i\000d\000aJOIN REVIEWS r ON r.ITEM_ID =[*]= i.ID"; ожидалось "ALL (, ANY (, SOME ("
|
|
Syntax error in SQL statement "SELECT * FROM ITEMS i\000d\000aJOIN REVIEWS r ON r.ITEM_ID =[*]= i.ID"; expected "ALL (, ANY (, SOME ("; SQL statement:
|
|
SELECT * FROM ITEMS i
|
|
JOIN REVIEWS r ON r.ITEM_ID == i.ID [42001-224]
|
|
2024-05-10 15:47:34.841811+04:00 jdbc[13]: exception
|
|
org.h2.jdbc.JdbcSQLSyntaxErrorException: Синтаксическая ошибка в выражении SQL "SELECT * FROM ITEMS as i\000d\000aJOIN REVIEWS as r ON r.ITEM_ID =[*]= i.ID"; ожидалось "ALL (, ANY (, SOME ("
|
|
Syntax error in SQL statement "SELECT * FROM ITEMS as i\000d\000aJOIN REVIEWS as r ON r.ITEM_ID =[*]= i.ID"; expected "ALL (, ANY (, SOME ("; SQL statement:
|
|
SELECT * FROM ITEMS as i
|
|
JOIN REVIEWS as r ON r.ITEM_ID == i.ID [42001-224]
|
|
2024-05-10 15:48:17.294126+04:00 jdbc[13]: exception
|
|
org.h2.jdbc.JdbcSQLSyntaxErrorException: Синтаксическая ошибка в выражении SQL "SELECT * FROM ITEMS as i\000d\000aLEFT JOIN REVIEWS as r ON r.ITEM_ID =[*]= i.ID"; ожидалось "ALL (, ANY (, SOME ("
|
|
Syntax error in SQL statement "SELECT * FROM ITEMS as i\000d\000aLEFT JOIN REVIEWS as r ON r.ITEM_ID =[*]= i.ID"; expected "ALL (, ANY (, SOME ("; SQL statement:
|
|
SELECT * FROM ITEMS as i
|
|
LEFT JOIN REVIEWS as r ON r.ITEM_ID == i.ID [42001-224]
|
|
2024-05-10 15:48:24.786578+04:00 jdbc[13]: exception
|
|
org.h2.jdbc.JdbcSQLSyntaxErrorException: Синтаксическая ошибка в выражении SQL "SELECT * FROM ITEMS as i\000d\000aLEFT JOIN REVIEWS as r ON r.ITEM_ID =[*]= i.ID"; ожидалось "ALL (, ANY (, SOME ("
|
|
Syntax error in SQL statement "SELECT * FROM ITEMS as i\000d\000aLEFT JOIN REVIEWS as r ON r.ITEM_ID =[*]= i.ID"; expected "ALL (, ANY (, SOME ("; SQL statement:
|
|
SELECT * FROM ITEMS as i
|
|
LEFT JOIN REVIEWS as r ON r.ITEM_ID == i.ID [42001-224]
|
|
2024-05-10 15:48:27.806215+04:00 jdbc[13]: exception
|
|
org.h2.jdbc.JdbcSQLSyntaxErrorException: Синтаксическая ошибка в выражении SQL "SELECT * FROM ITEMS as i\000d\000aLEFT JOIN REVIEWS as r ON r.ITEM_ID =[*]= i.ID"; ожидалось "ALL (, ANY (, SOME ("
|
|
Syntax error in SQL statement "SELECT * FROM ITEMS as i\000d\000aLEFT JOIN REVIEWS as r ON r.ITEM_ID =[*]= i.ID"; expected "ALL (, ANY (, SOME ("; SQL statement:
|
|
SELECT * FROM ITEMS as i
|
|
LEFT JOIN REVIEWS as r ON r.ITEM_ID == i.ID [42001-224]
|
|
2024-05-10 15:51:46.705578+04:00 jdbc[13]: exception
|
|
org.h2.jdbc.JdbcSQLSyntaxErrorException: Столбец "R.RATE" должен быть в предложении GROUP BY
|
|
Column "R.RATE" must be in the GROUP BY list; SQL statement:
|
|
SELECT i.id, r.rate, COUNT(*)
|
|
FROM ITEMS as i
|
|
JOIN REVIEWS as r ON r.ITEM_ID = i.ID
|
|
WHERE i.ID = 4 [90016-224]
|
|
at org.h2.message.DbException.getJdbcSQLException(DbException.java:644)
|
|
at org.h2.message.DbException.getJdbcSQLException(DbException.java:489)
|
|
at org.h2.message.DbException.get(DbException.java:223)
|
|
at org.h2.message.DbException.get(DbException.java:199)
|
|
at org.h2.expression.ExpressionColumn.updateAggregate(ExpressionColumn.java:266)
|
|
at org.h2.command.query.Select.updateAgg(Select.java:539)
|
|
at org.h2.command.query.Select.gatherGroup(Select.java:522)
|
|
at org.h2.command.query.Select.queryGroup(Select.java:488)
|
|
at org.h2.command.query.Select.queryWithoutCache(Select.java:828)
|
|
at org.h2.command.query.Query.queryWithoutCacheLazyCheck(Query.java:197)
|
|
at org.h2.command.query.Query.query(Query.java:520)
|
|
at org.h2.command.query.Query.query(Query.java:483)
|
|
at org.h2.command.CommandContainer.query(CommandContainer.java:252)
|
|
at org.h2.command.Command.executeQuery(Command.java:192)
|
|
at org.h2.jdbc.JdbcStatement.executeInternal(JdbcStatement.java:257)
|
|
at org.h2.jdbc.JdbcStatement.execute(JdbcStatement.java:231)
|
|
at org.h2.server.web.WebApp.getResult(WebApp.java:1345)
|
|
at org.h2.server.web.WebApp.query(WebApp.java:1143)
|
|
at org.h2.server.web.WebApp.query(WebApp.java:1119)
|
|
at org.h2.server.web.WebApp.process(WebApp.java:245)
|
|
at org.h2.server.web.WebApp.processRequest(WebApp.java:177)
|
|
at org.h2.server.web.JakartaWebServlet.doGet(JakartaWebServlet.java:129)
|
|
at org.h2.server.web.JakartaWebServlet.doPost(JakartaWebServlet.java:166)
|
|
at jakarta.servlet.http.HttpServlet.service(HttpServlet.java:590)
|
|
at jakarta.servlet.http.HttpServlet.service(HttpServlet.java:658)
|
|
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:205)
|
|
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:149)
|
|
at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:51)
|
|
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:174)
|
|
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:149)
|
|
at org.springframework.web.filter.RequestContextFilter.doFilterInternal(RequestContextFilter.java:100)
|
|
at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:116)
|
|
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:174)
|
|
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:149)
|
|
at org.springframework.web.filter.FormContentFilter.doFilterInternal(FormContentFilter.java:93)
|
|
at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:116)
|
|
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:174)
|
|
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:149)
|
|
at org.springframework.web.filter.CharacterEncodingFilter.doFilterInternal(CharacterEncodingFilter.java:201)
|
|
at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:116)
|
|
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:174)
|
|
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:149)
|
|
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:167)
|
|
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:90)
|
|
at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:482)
|
|
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:115)
|
|
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:93)
|
|
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:74)
|
|
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:344)
|
|
at org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:391)
|
|
at org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:63)
|
|
at org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:896)
|
|
at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1744)
|
|
at org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:52)
|
|
at org.apache.tomcat.util.threads.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1191)
|
|
at org.apache.tomcat.util.threads.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:659)
|
|
at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:63)
|
|
at java.base/java.lang.Thread.run(Unknown Source)
|
|
2024-05-10 15:52:06.728424+04:00 jdbc[13]: exception
|
|
org.h2.jdbc.JdbcSQLSyntaxErrorException: Столбец "R.RATE" должен быть в предложении GROUP BY
|
|
Column "R.RATE" must be in the GROUP BY list; SQL statement:
|
|
SELECT i.id, r.rate, COUNT(*)
|
|
FROM ITEMS as i
|
|
JOIN REVIEWS as r ON r.ITEM_ID = i.ID
|
|
WHERE i.ID = 4
|
|
GROUP BY i.id [90016-224]
|
|
at org.h2.message.DbException.getJdbcSQLException(DbException.java:644)
|
|
at org.h2.message.DbException.getJdbcSQLException(DbException.java:489)
|
|
at org.h2.message.DbException.get(DbException.java:223)
|
|
at org.h2.message.DbException.get(DbException.java:199)
|
|
at org.h2.expression.ExpressionColumn.updateAggregate(ExpressionColumn.java:266)
|
|
at org.h2.command.query.Select.updateAgg(Select.java:539)
|
|
at org.h2.command.query.Select.gatherGroup(Select.java:522)
|
|
at org.h2.command.query.Select.queryGroup(Select.java:488)
|
|
at org.h2.command.query.Select.queryWithoutCache(Select.java:828)
|
|
at org.h2.command.query.Query.queryWithoutCacheLazyCheck(Query.java:197)
|
|
at org.h2.command.query.Query.query(Query.java:520)
|
|
at org.h2.command.query.Query.query(Query.java:483)
|
|
at org.h2.command.CommandContainer.query(CommandContainer.java:252)
|
|
at org.h2.command.Command.executeQuery(Command.java:192)
|
|
at org.h2.jdbc.JdbcStatement.executeInternal(JdbcStatement.java:257)
|
|
at org.h2.jdbc.JdbcStatement.execute(JdbcStatement.java:231)
|
|
at org.h2.server.web.WebApp.getResult(WebApp.java:1345)
|
|
at org.h2.server.web.WebApp.query(WebApp.java:1143)
|
|
at org.h2.server.web.WebApp.query(WebApp.java:1119)
|
|
at org.h2.server.web.WebApp.process(WebApp.java:245)
|
|
at org.h2.server.web.WebApp.processRequest(WebApp.java:177)
|
|
at org.h2.server.web.JakartaWebServlet.doGet(JakartaWebServlet.java:129)
|
|
at org.h2.server.web.JakartaWebServlet.doPost(JakartaWebServlet.java:166)
|
|
at jakarta.servlet.http.HttpServlet.service(HttpServlet.java:590)
|
|
at jakarta.servlet.http.HttpServlet.service(HttpServlet.java:658)
|
|
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:205)
|
|
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:149)
|
|
at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:51)
|
|
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:174)
|
|
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:149)
|
|
at org.springframework.web.filter.RequestContextFilter.doFilterInternal(RequestContextFilter.java:100)
|
|
at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:116)
|
|
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:174)
|
|
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:149)
|
|
at org.springframework.web.filter.FormContentFilter.doFilterInternal(FormContentFilter.java:93)
|
|
at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:116)
|
|
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:174)
|
|
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:149)
|
|
at org.springframework.web.filter.CharacterEncodingFilter.doFilterInternal(CharacterEncodingFilter.java:201)
|
|
at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:116)
|
|
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:174)
|
|
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:149)
|
|
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:167)
|
|
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:90)
|
|
at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:482)
|
|
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:115)
|
|
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:93)
|
|
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:74)
|
|
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:344)
|
|
at org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:391)
|
|
at org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:63)
|
|
at org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:896)
|
|
at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1744)
|
|
at org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:52)
|
|
at org.apache.tomcat.util.threads.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1191)
|
|
at org.apache.tomcat.util.threads.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:659)
|
|
at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:63)
|
|
at java.base/java.lang.Thread.run(Unknown Source)
|
|
2024-05-10 16:06:26.916109+04:00 jdbc[13]: exception
|
|
org.h2.jdbc.JdbcSQLSyntaxErrorException: Синтаксическая ошибка в выражении SQL "SELECT SUM([*]*) as rate_count FROM ITEMS as i JOIN REVIEWS as r ON r.item_id=i.id WHERE i.id=4"; ожидалось "DISTINCT, ALL, INTERSECTS (, NOT, EXISTS, UNIQUE, INTERSECTS"
|
|
Syntax error in SQL statement "SELECT SUM([*]*) as rate_count FROM ITEMS as i JOIN REVIEWS as r ON r.item_id=i.id WHERE i.id=4"; expected "DISTINCT, ALL, INTERSECTS (, NOT, EXISTS, UNIQUE, INTERSECTS"; SQL statement:
|
|
SELECT SUM(*) as rate_count FROM ITEMS as i JOIN REVIEWS as r ON r.item_id=i.id WHERE i.id=4 [42001-224]
|
|
2024-05-10 16:08:03.614211+04:00 jdbc[13]: exception
|
|
org.h2.jdbc.JdbcSQLSyntaxErrorException: Синтаксическая ошибка в выражении SQL "SELECT SUM(r.rate) / SUM([*]*) as average_rate\000d\000aFROM ITEMS as i \000d\000aJOIN REVIEWS as r \000d\000aON r.item_id=i.id \000d\000aWHERE i.id=4"; ожидалось "DISTINCT, ALL, INTERSECTS (, NOT, EXISTS, UNIQUE, INTERSECTS"
|
|
Syntax error in SQL statement "SELECT SUM(r.rate) / SUM([*]*) as average_rate\000d\000aFROM ITEMS as i \000d\000aJOIN REVIEWS as r \000d\000aON r.item_id=i.id \000d\000aWHERE i.id=4"; expected "DISTINCT, ALL, INTERSECTS (, NOT, EXISTS, UNIQUE, INTERSECTS"; SQL statement:
|
|
SELECT SUM(r.rate) / SUM(*) as average_rate
|
|
FROM ITEMS as i
|
|
JOIN REVIEWS as r
|
|
ON r.item_id=i.id
|
|
WHERE i.id=4 [42001-224]
|
|
2024-05-10 16:08:09.936815+04:00 jdbc[13]: exception
|
|
org.h2.jdbc.JdbcSQLSyntaxErrorException: Синтаксическая ошибка в выражении SQL "SELECT (SUM(r.rate) / SUM([*]*)) as average_rate\000d\000aFROM ITEMS as i \000d\000aJOIN REVIEWS as r \000d\000aON r.item_id=i.id \000d\000aWHERE i.id=4"; ожидалось "DISTINCT, ALL, INTERSECTS (, NOT, EXISTS, UNIQUE, INTERSECTS"
|
|
Syntax error in SQL statement "SELECT (SUM(r.rate) / SUM([*]*)) as average_rate\000d\000aFROM ITEMS as i \000d\000aJOIN REVIEWS as r \000d\000aON r.item_id=i.id \000d\000aWHERE i.id=4"; expected "DISTINCT, ALL, INTERSECTS (, NOT, EXISTS, UNIQUE, INTERSECTS"; SQL statement:
|
|
SELECT (SUM(r.rate) / SUM(*)) as average_rate
|
|
FROM ITEMS as i
|
|
JOIN REVIEWS as r
|
|
ON r.item_id=i.id
|
|
WHERE i.id=4 [42001-224]
|
|
2024-05-10 16:09:35.284253+04:00 jdbc[13]: exception
|
|
org.h2.jdbc.JdbcSQLSyntaxErrorException: Синтаксическая ошибка в выражении SQL "SELECT SUM(r.rate) DIV [*]SUM(*) as average_rate\000d\000aFROM ITEMS as i \000d\000aJOIN REVIEWS as r \000d\000aON r.item_id=i.id \000d\000aWHERE i.id=4"
|
|
Syntax error in SQL statement "SELECT SUM(r.rate) DIV [*]SUM(*) as average_rate\000d\000aFROM ITEMS as i \000d\000aJOIN REVIEWS as r \000d\000aON r.item_id=i.id \000d\000aWHERE i.id=4"; SQL statement:
|
|
SELECT SUM(r.rate) DIV SUM(*) as average_rate
|
|
FROM ITEMS as i
|
|
JOIN REVIEWS as r
|
|
ON r.item_id=i.id
|
|
WHERE i.id=4 [42000-224]
|
|
2024-05-10 16:10:12.788693+04:00 jdbc[13]: exception
|
|
org.h2.jdbc.JdbcSQLSyntaxErrorException: Синтаксическая ошибка в выражении SQL "SELECT SUM(r.rate) DIV [*]COUNT(*) as average_rate\000d\000aFROM ITEMS as i \000d\000aJOIN REVIEWS as r \000d\000aON r.item_id=i.id \000d\000aWHERE i.id=4"
|
|
Syntax error in SQL statement "SELECT SUM(r.rate) DIV [*]COUNT(*) as average_rate\000d\000aFROM ITEMS as i \000d\000aJOIN REVIEWS as r \000d\000aON r.item_id=i.id \000d\000aWHERE i.id=4"; SQL statement:
|
|
SELECT SUM(r.rate) DIV COUNT(*) as average_rate
|
|
FROM ITEMS as i
|
|
JOIN REVIEWS as r
|
|
ON r.item_id=i.id
|
|
WHERE i.id=4 [42000-224]
|
|
2024-05-10 16:17:29.815137+04:00 jdbc[13]: exception
|
|
org.h2.jdbc.JdbcSQLSyntaxErrorException: Столбец "R.ITEM_D" не найден
|
|
Column "R.ITEM_D" not found; SQL statement:
|
|
SELECT CAST(SUM(r.rate) / COUNT(*) as double) as average_rate FROM items as i JOIN reviews as r ON r.item_d=i.id WHERE i.id=4 [42122-224]
|
|
at org.h2.message.DbException.getJdbcSQLException(DbException.java:514)
|
|
at org.h2.message.DbException.getJdbcSQLException(DbException.java:489)
|
|
at org.h2.message.DbException.get(DbException.java:223)
|
|
at org.h2.message.DbException.get(DbException.java:199)
|
|
at org.h2.expression.ExpressionColumn.getColumnException(ExpressionColumn.java:244)
|
|
at org.h2.expression.ExpressionColumn.optimizeOther(ExpressionColumn.java:226)
|
|
at org.h2.expression.ExpressionColumn.optimize(ExpressionColumn.java:213)
|
|
at org.h2.expression.condition.Comparison.optimize(Comparison.java:147)
|
|
at org.h2.expression.condition.ConditionAndOr.optimize(ConditionAndOr.java:137)
|
|
at org.h2.expression.Expression.optimizeCondition(Expression.java:148)
|
|
at org.h2.command.query.Select.prepareExpressions(Select.java:1177)
|
|
at org.h2.command.query.Query.prepare(Query.java:218)
|
|
at org.h2.command.Parser.prepareCommand(Parser.java:489)
|
|
at org.h2.engine.SessionLocal.prepareLocal(SessionLocal.java:639)
|
|
at org.h2.engine.SessionLocal.prepareCommand(SessionLocal.java:559)
|
|
at org.h2.jdbc.JdbcConnection.prepareCommand(JdbcConnection.java:1166)
|
|
at org.h2.jdbc.JdbcStatement.executeInternal(JdbcStatement.java:245)
|
|
at org.h2.jdbc.JdbcStatement.execute(JdbcStatement.java:231)
|
|
at org.h2.server.web.WebApp.getResult(WebApp.java:1345)
|
|
at org.h2.server.web.WebApp.query(WebApp.java:1143)
|
|
at org.h2.server.web.WebApp.query(WebApp.java:1119)
|
|
at org.h2.server.web.WebApp.process(WebApp.java:245)
|
|
at org.h2.server.web.WebApp.processRequest(WebApp.java:177)
|
|
at org.h2.server.web.JakartaWebServlet.doGet(JakartaWebServlet.java:129)
|
|
at org.h2.server.web.JakartaWebServlet.doPost(JakartaWebServlet.java:166)
|
|
at jakarta.servlet.http.HttpServlet.service(HttpServlet.java:590)
|
|
at jakarta.servlet.http.HttpServlet.service(HttpServlet.java:658)
|
|
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:205)
|
|
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:149)
|
|
at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:51)
|
|
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:174)
|
|
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:149)
|
|
at org.springframework.web.filter.RequestContextFilter.doFilterInternal(RequestContextFilter.java:100)
|
|
at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:116)
|
|
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:174)
|
|
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:149)
|
|
at org.springframework.web.filter.FormContentFilter.doFilterInternal(FormContentFilter.java:93)
|
|
at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:116)
|
|
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:174)
|
|
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:149)
|
|
at org.springframework.web.filter.CharacterEncodingFilter.doFilterInternal(CharacterEncodingFilter.java:201)
|
|
at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:116)
|
|
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:174)
|
|
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:149)
|
|
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:167)
|
|
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:90)
|
|
at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:482)
|
|
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:115)
|
|
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:93)
|
|
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:74)
|
|
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:344)
|
|
at org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:391)
|
|
at org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:63)
|
|
at org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:896)
|
|
at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1744)
|
|
at org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:52)
|
|
at org.apache.tomcat.util.threads.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1191)
|
|
at org.apache.tomcat.util.threads.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:659)
|
|
at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:63)
|
|
at java.base/java.lang.Thread.run(Unknown Source)
|
|
2024-05-10 16:18:46.447591+04:00 jdbc[13]: exception
|
|
org.h2.jdbc.JdbcSQLSyntaxErrorException: Синтаксическая ошибка в выражении SQL "SELECT CAST(SUM(r.rate) as numeric(1,3) [*]/ COUNT(*) as average_rate FROM items as i JOIN reviews as r ON r.item_id=i.id WHERE i.id=4"; ожидалось "ARRAY, FORMAT, )"
|
|
Syntax error in SQL statement "SELECT CAST(SUM(r.rate) as numeric(1,3) [*]/ COUNT(*) as average_rate FROM items as i JOIN reviews as r ON r.item_id=i.id WHERE i.id=4"; expected "ARRAY, FORMAT, )"; SQL statement:
|
|
SELECT CAST(SUM(r.rate) as numeric(1,3) / COUNT(*) as average_rate FROM items as i JOIN reviews as r ON r.item_id=i.id WHERE i.id=4 [42001-224]
|
|
2024-05-10 16:19:03.305323+04:00 jdbc[13]: exception
|
|
org.h2.jdbc.JdbcSQLSyntaxErrorException: Синтаксическая ошибка в выражении SQL "SELECT CAST(SUM(r.rate) as decimal(1,3) [*]/ COUNT(*) as average_rate FROM items as i JOIN reviews as r ON r.item_id=i.id WHERE i.id=4"; ожидалось "ARRAY, FORMAT, )"
|
|
Syntax error in SQL statement "SELECT CAST(SUM(r.rate) as decimal(1,3) [*]/ COUNT(*) as average_rate FROM items as i JOIN reviews as r ON r.item_id=i.id WHERE i.id=4"; expected "ARRAY, FORMAT, )"; SQL statement:
|
|
SELECT CAST(SUM(r.rate) as decimal(1,3) / COUNT(*) as average_rate FROM items as i JOIN reviews as r ON r.item_id=i.id WHERE i.id=4 [42001-224]
|
|
2024-05-10 16:19:23.334505+04:00 jdbc[13]: exception
|
|
org.h2.jdbc.JdbcSQLDataException: Значение слишком длинное для поля "DECIMAL(1, 3)": "CAST(14 AS BIGINT) (64)"
|
|
Value too long for column "DECIMAL(1, 3)": "CAST(14 AS BIGINT) (64)"; SQL statement:
|
|
SELECT CAST(SUM(r.rate) as decimal(1,3)) / COUNT(*) as average_rate FROM items as i JOIN reviews as r ON r.item_id=i.id WHERE i.id=4 [22001-224]
|
|
2024-05-10 16:19:29.284613+04:00 jdbc[13]: exception
|
|
org.h2.jdbc.JdbcSQLDataException: Значение слишком длинное для поля "NUMERIC(1, 3)": "CAST(14 AS BIGINT) (64)"
|
|
Value too long for column "NUMERIC(1, 3)": "CAST(14 AS BIGINT) (64)"; SQL statement:
|
|
SELECT CAST(SUM(r.rate) as numeric(1,3)) / COUNT(*) as average_rate FROM items as i JOIN reviews as r ON r.item_id=i.id WHERE i.id=4 [22001-224]
|
|
2024-05-10 16:19:34.415301+04:00 jdbc[13]: exception
|
|
org.h2.jdbc.JdbcSQLDataException: Значение слишком длинное для поля "NUMERIC(1, 4)": "CAST(14 AS BIGINT) (64)"
|
|
Value too long for column "NUMERIC(1, 4)": "CAST(14 AS BIGINT) (64)"; SQL statement:
|
|
SELECT CAST(SUM(r.rate) as numeric(1,4)) / COUNT(*) as average_rate FROM items as i JOIN reviews as r ON r.item_id=i.id WHERE i.id=4 [22001-224]
|
|
2024-05-10 16:19:36.648498+04:00 jdbc[13]: exception
|
|
org.h2.jdbc.JdbcSQLDataException: Значение слишком длинное для поля "NUMERIC(1, 2)": "CAST(14 AS BIGINT) (64)"
|
|
Value too long for column "NUMERIC(1, 2)": "CAST(14 AS BIGINT) (64)"; SQL statement:
|
|
SELECT CAST(SUM(r.rate) as numeric(1,2)) / COUNT(*) as average_rate FROM items as i JOIN reviews as r ON r.item_id=i.id WHERE i.id=4 [22001-224]
|
|
2024-05-10 16:20:06.436282+04:00 jdbc[13]: exception
|
|
org.h2.jdbc.JdbcSQLDataException: Значение слишком длинное для поля "NUMERIC(1, 2)": "CAST(4.6666666666666666667 AS DECFLOAT) (20)"
|
|
Value too long for column "NUMERIC(1, 2)": "CAST(4.6666666666666666667 AS DECFLOAT) (20)"; SQL statement:
|
|
SELECT CAST(CAST(SUM(r.rate) as double) / COUNT(*) as numeric(1,2)) as average_rate FROM items as i JOIN reviews as r ON r.item_id=i.id WHERE i.id=4 [22001-224]
|
|
2024-05-10 16:20:06.536414+04:00 jdbc[13]: exception
|
|
org.h2.jdbc.JdbcSQLDataException: Значение слишком длинное для поля "NUMERIC(1, 2)": "CAST(4.6666666666666666667 AS DECFLOAT) (20)"
|
|
Value too long for column "NUMERIC(1, 2)": "CAST(4.6666666666666666667 AS DECFLOAT) (20)"; SQL statement:
|
|
SELECT CAST(CAST(SUM(r.rate) as double) / COUNT(*) as numeric(1,2)) as average_rate FROM items as i JOIN reviews as r ON r.item_id=i.id WHERE i.id=4 [22001-224]
|
|
2024-05-10 16:22:07.455508+04:00 jdbc[13]: exception
|
|
org.h2.jdbc.JdbcSQLNonTransientException: Неизвестный тип данных: "SUM"
|
|
Unknown data type: "SUM"; SQL statement:
|
|
SELECT CONVERT(NUMERIC, SUM(r.rate))/(CONVERT(NUMERIC, COUNT(*)) as average_rate FROM items as i JOIN reviews as r ON r.item_id=i.id WHERE i.id=4 [50004-224]
|
|
at org.h2.message.DbException.getJdbcSQLException(DbException.java:566)
|
|
at org.h2.message.DbException.getJdbcSQLException(DbException.java:489)
|
|
at org.h2.message.DbException.get(DbException.java:223)
|
|
at org.h2.message.DbException.get(DbException.java:199)
|
|
at org.h2.command.Parser.readIfDataType1(Parser.java:5866)
|
|
at org.h2.command.Parser.readIfDataType(Parser.java:5704)
|
|
at org.h2.command.Parser.parseColumnWithType(Parser.java:5686)
|
|
at org.h2.command.Parser.readCompatibilityFunction(Parser.java:3853)
|
|
at org.h2.command.Parser.readFunction(Parser.java:3776)
|
|
at org.h2.command.Parser.readTermWithIdentifier(Parser.java:5148)
|
|
at org.h2.command.Parser.readTerm(Parser.java:4834)
|
|
at org.h2.command.Parser.readFactor(Parser.java:3337)
|
|
at org.h2.command.Parser.readSum(Parser.java:3324)
|
|
at org.h2.command.Parser.readConcat(Parser.java:3289)
|
|
at org.h2.command.Parser.readCondition(Parser.java:3079)
|
|
at org.h2.command.Parser.readExpression(Parser.java:2999)
|
|
at org.h2.command.Parser.parseSelectExpressions(Parser.java:2799)
|
|
at org.h2.command.Parser.parseSelect(Parser.java:2817)
|
|
at org.h2.command.Parser.parseQueryPrimary(Parser.java:2708)
|
|
at org.h2.command.Parser.parseQueryTerm(Parser.java:2564)
|
|
at org.h2.command.Parser.parseQueryExpressionBody(Parser.java:2543)
|
|
at org.h2.command.Parser.parseQueryExpressionBodyAndEndOfQuery(Parser.java:2536)
|
|
at org.h2.command.Parser.parseQueryExpression(Parser.java:2529)
|
|
at org.h2.command.Parser.parseQuery(Parser.java:2498)
|
|
at org.h2.command.Parser.parsePrepared(Parser.java:627)
|
|
at org.h2.command.Parser.parse(Parser.java:592)
|
|
at org.h2.command.Parser.parse(Parser.java:564)
|
|
at org.h2.command.Parser.prepareCommand(Parser.java:483)
|
|
at org.h2.engine.SessionLocal.prepareLocal(SessionLocal.java:639)
|
|
at org.h2.engine.SessionLocal.prepareCommand(SessionLocal.java:559)
|
|
at org.h2.jdbc.JdbcConnection.prepareCommand(JdbcConnection.java:1166)
|
|
at org.h2.jdbc.JdbcStatement.executeInternal(JdbcStatement.java:245)
|
|
at org.h2.jdbc.JdbcStatement.execute(JdbcStatement.java:231)
|
|
at org.h2.server.web.WebApp.getResult(WebApp.java:1345)
|
|
at org.h2.server.web.WebApp.query(WebApp.java:1143)
|
|
at org.h2.server.web.WebApp.query(WebApp.java:1119)
|
|
at org.h2.server.web.WebApp.process(WebApp.java:245)
|
|
at org.h2.server.web.WebApp.processRequest(WebApp.java:177)
|
|
at org.h2.server.web.JakartaWebServlet.doGet(JakartaWebServlet.java:129)
|
|
at org.h2.server.web.JakartaWebServlet.doPost(JakartaWebServlet.java:166)
|
|
at jakarta.servlet.http.HttpServlet.service(HttpServlet.java:590)
|
|
at jakarta.servlet.http.HttpServlet.service(HttpServlet.java:658)
|
|
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:205)
|
|
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:149)
|
|
at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:51)
|
|
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:174)
|
|
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:149)
|
|
at org.springframework.web.filter.RequestContextFilter.doFilterInternal(RequestContextFilter.java:100)
|
|
at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:116)
|
|
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:174)
|
|
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:149)
|
|
at org.springframework.web.filter.FormContentFilter.doFilterInternal(FormContentFilter.java:93)
|
|
at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:116)
|
|
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:174)
|
|
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:149)
|
|
at org.springframework.web.filter.CharacterEncodingFilter.doFilterInternal(CharacterEncodingFilter.java:201)
|
|
at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:116)
|
|
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:174)
|
|
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:149)
|
|
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:167)
|
|
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:90)
|
|
at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:482)
|
|
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:115)
|
|
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:93)
|
|
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:74)
|
|
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:344)
|
|
at org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:391)
|
|
at org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:63)
|
|
at org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:896)
|
|
at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1744)
|
|
at org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:52)
|
|
at org.apache.tomcat.util.threads.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1191)
|
|
at org.apache.tomcat.util.threads.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:659)
|
|
at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:63)
|
|
at java.base/java.lang.Thread.run(Unknown Source)
|
|
2024-05-10 16:22:51.456522+04:00 jdbc[13]: exception
|
|
org.h2.jdbc.JdbcSQLDataException: Значение слишком длинное для поля "NUMERIC(1, 2)": "CAST(3 AS BIGINT) (64)"
|
|
Value too long for column "NUMERIC(1, 2)": "CAST(3 AS BIGINT) (64)"; SQL statement:
|
|
SELECT CAST(SUM(r.rate) as numeric) / CAST(COUNT(*) as numeric(1,2)) as average_rate FROM items as i JOIN reviews as r ON r.item_id=i.id WHERE i.id=4 [22001-224]
|
|
2024-05-10 16:22:56.298827+04:00 jdbc[13]: exception
|
|
org.h2.jdbc.JdbcSQLSyntaxErrorException: Синтаксическая ошибка в выражении SQL "SELECT CAST(SUM(r.rate) as numeric) / CAST(COUNT(*) as numeric)[*]) as average_rate FROM items as i JOIN reviews as r ON r.item_id=i.id WHERE i.id=4"
|
|
Syntax error in SQL statement "SELECT CAST(SUM(r.rate) as numeric) / CAST(COUNT(*) as numeric)[*]) as average_rate FROM items as i JOIN reviews as r ON r.item_id=i.id WHERE i.id=4"; SQL statement:
|
|
SELECT CAST(SUM(r.rate) as numeric) / CAST(COUNT(*) as numeric)) as average_rate FROM items as i JOIN reviews as r ON r.item_id=i.id WHERE i.id=4 [42000-224]
|
|
2024-05-10 16:23:52.955355+04:00 jdbc[13]: exception
|
|
org.h2.jdbc.JdbcSQLSyntaxErrorException: Синтаксическая ошибка в выражении SQL "SELECT CAST(CAST(SUM(r.rate) as float) / COUNT(*) as numeric([*])) as average_rate FROM items as i JOIN reviews as r ON r.item_id=i.id WHERE i.id=4"; ожидалось "long"
|
|
Syntax error in SQL statement "SELECT CAST(CAST(SUM(r.rate) as float) / COUNT(*) as numeric([*])) as average_rate FROM items as i JOIN reviews as r ON r.item_id=i.id WHERE i.id=4"; expected "long"; SQL statement:
|
|
SELECT CAST(CAST(SUM(r.rate) as float) / COUNT(*) as numeric()) as average_rate FROM items as i JOIN reviews as r ON r.item_id=i.id WHERE i.id=4 [42001-224]
|
|
2024-05-10 16:24:43.874533+04:00 jdbc[13]: exception
|
|
org.h2.jdbc.JdbcSQLDataException: Значение слишком длинное для поля "NUMERIC(1, 2)": "CAST(4.6666666666666666667 AS DECFLOAT) (20)"
|
|
Value too long for column "NUMERIC(1, 2)": "CAST(4.6666666666666666667 AS DECFLOAT) (20)"; SQL statement:
|
|
SELECT CAST(CAST(SUM(r.rate) as double) / COUNT(*) as numeric(1,2)) as average_rate FROM items as i JOIN reviews as r ON r.item_id=i.id WHERE i.id=4 [22001-224]
|