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

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

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

Akash R Nilugal (Jira)

    [ 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)