You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@carbondata.apache.org by "zjw11763 (JIRA)" <ji...@apache.org> on 2016/09/26 12:29:20 UTC

[jira] [Commented] (CARBONDATA-275) org.apache.thrift.TBaseHelper.hashCode(int) can't find this function

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

zjw11763 commented on CARBONDATA-275:
-------------------------------------

there is method,for example:

  @Override
  public int hashCode() {
    int hashCode = 1;

    hashCode = hashCode * 8191 + min_surrogate_key;

    hashCode = hashCode * 8191 + max_surrogate_key;

    hashCode = hashCode * 8191 + org.apache.thrift.TBaseHelper.hashCode(start_offset);

    hashCode = hashCode * 8191 + org.apache.thrift.TBaseHelper.hashCode(end_offset);

    hashCode = hashCode * 8191 + chunk_count;

    hashCode = hashCode * 8191 + ((isSetSegment_id()) ? 131071 : 524287);
    if (isSetSegment_id())
      hashCode = hashCode * 8191 + org.apache.thrift.TBaseHelper.hashCode(segment_id);

    return hashCode;
  }


but can't find function org.apache.thrift.TBaseHelper.hashCode(segment_id)
there is no funciotn called hashCode has paramater 

> org.apache.thrift.TBaseHelper.hashCode(int) can't find this function
> --------------------------------------------------------------------
>
>                 Key: CARBONDATA-275
>                 URL: https://issues.apache.org/jira/browse/CARBONDATA-275
>             Project: CarbonData
>          Issue Type: Bug
>            Reporter: zjw11763
>




--
This message was sent by Atlassian JIRA
(v6.3.4#6332)