[ 
https://issues.apache.org/jira/browse/KYLIN-3492?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16577590#comment-16577590
 ] 

ASF GitHub Bot commented on KYLIN-3492:
---------------------------------------

shaofengshi closed pull request #196: KYLIN-3492, fix typo in 
KylinConfigBase.getDefaultVarcharPrecision.
URL: https://github.com/apache/kylin/pull/196
 
 
   

This is a PR merged from a forked repository.
As GitHub hides the original diff on merge, it is displayed below for
the sake of provenance:

As this is a foreign pull request (from a fork), the diff is supplied
below (as it won't show otherwise due to GitHub magic):

diff --git 
a/core-common/src/main/java/org/apache/kylin/common/KylinConfigBase.java 
b/core-common/src/main/java/org/apache/kylin/common/KylinConfigBase.java
index 4833ca97e1..c9e2b97851 100644
--- a/core-common/src/main/java/org/apache/kylin/common/KylinConfigBase.java
+++ b/core-common/src/main/java/org/apache/kylin/common/KylinConfigBase.java
@@ -799,7 +799,7 @@ public int getDefaultVarcharPrecision() {
         int v = 
Integer.parseInt(getOptional("kylin.source.hive.default-varchar-precision", 
"256"));
         if (v < 1) {
             return 256;
-        } else if (v > 65355) {
+        } else if (v > 65535) {
             return 65535;
         } else {
             return v;


 

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
[email protected]


> typo in KylinConfigBase.getDefaultVarcharPrecision
> --------------------------------------------------
>
>                 Key: KYLIN-3492
>                 URL: https://issues.apache.org/jira/browse/KYLIN-3492
>             Project: Kylin
>          Issue Type: Improvement
>            Reporter: jiatao.tao
>            Assignee: jiatao.tao
>            Priority: Trivial
>             Fix For: v2.4.1, v2.5.0
>
>




--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to