Skip to content

Commit

Permalink
update IC10 result personId to long (#52)
Browse files Browse the repository at this point in the history
IC10 result personId to long
  • Loading branch information
xiajingchun committed Nov 25, 2022
1 parent 866e48f commit 023648b
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -328,7 +328,7 @@ public String getQueryString(NebulaDbConnectionState state, LdbcQuery10 operatio

@Override
public LdbcQuery10Result convertSingleResult(ResultSet.Record record) throws UnsupportedEncodingException {
long personId = Long.parseLong(record.get(0).asString().substring(NebulaID.ID_PREFIX_SIZE));
long personId = record.get(0).asLong();
String personFirstName = record.get(1).asString();
String personLastName = record.get(2).asString();
int commonInterestScore = (int) record.get(3).asLong();
Expand Down

0 comments on commit 023648b

Please sign in to comment.