eldenmoon commented on code in PR #43480:
URL: https://github.com/apache/doris/pull/43480#discussion_r1833763765
##########
fe/fe-core/src/main/java/org/apache/doris/analysis/IndexDef.java:
##########
@@ -254,7 +254,7 @@ public void checkColumn(Column column, KeysType keysType,
boolean enableUniqueKe
if (ngramSize > 256 || ngramSize < 1) {
throw new AnalysisException("gram_size should be
integer and less than 256");
}
- if (bfSize > 65536 || bfSize < 64) {
+ if (bfSize > 65535 || bfSize < 64) {
throw new AnalysisException("bf_size should be integer
and between 64 and 65536");
}
} catch (NumberFormatException e) {
Review Comment:
maybe we shoud add regression test for bfSize > 65535
--
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]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]