Fix Registry Center - Documentation cannot paginate / cannot turn pages#4554
Open
safishhh wants to merge 3 commits into
Open
Fix Registry Center - Documentation cannot paginate / cannot turn pages#4554safishhh wants to merge 3 commits into
safishhh wants to merge 3 commits into
Conversation
注册中心-文档 无法翻页 前端传递了无效的排序字段:前端在排序时传递了 "undefined" 作为字段名 ERROR 89291 --- [ XNIO-1 task-1] org.dinky.aop.exception.UnKnownExceptionHandler: ### Error querying database. Cause: java.sql.SQLSyntaxErrorException: Unknown column 'a.undefined' in 'order clause' ### The error may exist in file [/home/fishh/Workspaces/dinky/dinky-dev/dinky-admin/target/classes/mapper/DocumentMapper.xml] ### The error may involve defaultParameterMap ### The error occurred while setting parameters ### SQL: SELECT a.* FROM dinky_flink_document a WHERE 1 = 1 ORDER BY a.undefined ASC LIMIT ? ### Cause: java.sql.SQLSyntaxErrorException: Unknown column 'a.undefined' in 'order clause' ; bad SQL grammar []; nested exception is java.sql.SQLSyntaxErrorException: Unknown column 'a.undefined' in 'order clause' org.springframework.jdbc.BadSqlGrammarException: ### Error querying database. Cause: java.sql.SQLSyntaxErrorException: Unknown column 'a.undefined' in 'order clause' ### The error may exist in file [/home/fishh/Workspaces/dinky/dinky-dev/dinky-admin/target/classes/mapper/DocumentMapper.xml] ### The error may involve defaultParameterMap ### The error occurred while setting parameters ### SQL: SELECT a.* FROM dinky_flink_document a WHERE 1 = 1 ORDER BY a.undefined ASC LIMIT ? ### Cause: java.sql.SQLSyntaxErrorException: Unknown column 'a.undefined' in 'order clause' ; bad SQL grammar []; nested exception is java.sql.SQLSyntaxErrorException: Unknown column 'a.undefined' in 'order clause' at org.springframework.jdbc.support.SQLErrorCodeSQLExceptionTranslator.doTranslate(SQLErrorCodeSQLExceptionTranslator.java:236) ~[spring-jdbc-5.3.31.jar:5.3.31] at org.springframework.jdbc.support.AbstractFallbackSQLExceptionTranslator.translate(AbstractFallbackSQLExceptionTranslator.java:73) ~[spring-jdbc-5.3.31.jar:5.3.31] at org.mybatis.spring.MyBatisExceptionTranslator.translateExceptionIfPossible(MyBatisExceptionTranslator.java:92) ~[mybatis-spring-2.1.2.jar:2.1.2]
在所有数据源的 convertToDB 方法中,处理 DECIMAL 类型时只返回了 "decimal" ,没有包含精度和小数位数,导致生成的 Flink DDL 中 decimal(22,4) 变成了 decimal(22,null)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
注册中心-文档 无法翻页
前端传递了无效的排序字段:前端在排序时传递了 "undefined" 作为字段名
ERROR 89291 --- [ XNIO-1 task-1] org.dinky.aop.exception.UnKnownExceptionHandler:
Error querying database. Cause: java.sql.SQLSyntaxErrorException: Unknown column 'a.undefined' in 'order clause' ### The error may exist in file [/home/fishh/Workspaces/dinky/dinky-dev/dinky-admin/target/classes/mapper/DocumentMapper.xml] ### The error may involve defaultParameterMap
The error occurred while setting parameters
SQL: SELECT a.* FROM dinky_flink_document a WHERE 1 = 1 ORDER BY a.undefined ASC LIMIT ? ### Cause: java.sql.SQLSyntaxErrorException: Unknown column 'a.undefined' in 'order clause' ; bad SQL grammar []; nested exception is java.sql.SQLSyntaxErrorException: Unknown column 'a.undefined' in 'order clause' org.springframework.jdbc.BadSqlGrammarException:
Error querying database. Cause: java.sql.SQLSyntaxErrorException: Unknown column 'a.undefined' in 'order clause' ### The error may exist in file [/home/fishh/Workspaces/dinky/dinky-dev/dinky-admin/target/classes/mapper/DocumentMapper.xml] ### The error may involve defaultParameterMap
The error occurred while setting parameters
SQL: SELECT a.* FROM dinky_flink_document a WHERE 1 = 1 ORDER BY a.undefined ASC LIMIT ? ### Cause: java.sql.SQLSyntaxErrorException: Unknown column 'a.undefined' in 'order clause' ; bad SQL grammar []; nested exception is java.sql.SQLSyntaxErrorException: Unknown column 'a.undefined' in 'order clause'
Purpose of the pull request
Brief change log
Verify this pull request
This pull request is code cleanup without any test coverage.
(or)
This pull request is already covered by existing tests, such as (please describe tests).
(or)
This change added tests and can be verified as follows: