Github user jackylk commented on a diff in the pull request:
    --- Diff: 
    @@ -197,8 +197,9 @@ public AbstractFactDataWriter(String storeLocation, int 
measureCount, int mdKeyL
         blockIndexInfoList = new ArrayList<>();
         // get max file size;
         CarbonProperties propInstance = CarbonProperties.getInstance();
    -    this.fileSizeInBytes = blocksize * 
    -        * CarbonCommonConstants.BYTE_TO_KB_CONVERSION_FACTOR * 1L;
    +    // if blocksize=2048, then 2048*1024*1024 will beyond the range of Int
    +    this.fileSizeInBytes = 1L * blocksize * 
    --- End diff --
    instead of multiple by `1L`, you can just convert `blocksize` to 
`(long)blocksize` instead

If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at or file a JIRA ticket
with INFRA.

Reply via email to