ygerzhedovich commented on code in PR #5119:
URL: https://github.com/apache/ignite-3/pull/5119#discussion_r1942977228
##########
modules/sql-engine/src/main/java/org/apache/ignite/internal/sql/engine/util/IgniteResource.java:
##########
@@ -85,8 +85,14 @@ public interface IgniteResource {
@BaseMessage("{0} datatype is not supported'")
ExInst<SqlValidatorException> dataTypeIsNotSupported(String a0);
- @BaseMessage("Length for type {0} must be at least 1")
- ExInst<SqlValidatorException> invalidStringLength(String typeName);
+ @BaseMessage("{0} length {1,number,#} must be between {2,number,#} and
{3,number,#}")
+ ExInst<SqlValidatorException> invalidLengthForType(String typeName, int
value, int min, int max);
+
+ @BaseMessage("{0} precision {1,number,#} must be between {2,number,#} and
{3,number,#}")
Review Comment:
we should try to follow our rules-
https://cwiki.apache.org/confluence/pages/viewpage.action?pageId=199534707#JavaCodeStyleGuide-1.4Punctuation
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]