carbondata-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "zjw11763 (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (CARBONDATA-275) org.apache.thrift.TBaseHelper.hashCode(int) can't find this function
Date Mon, 26 Sep 2016 12:29:20 GMT

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

Mime
View raw message