LibertyDSNP / eth-sdk-ts

TypeScript SDK for DSNP on Ethereum
Apache License 2.0
9 stars 1 forks source link

add objectid to graphchange parquet schema #139

Closed acruikshank closed 3 years ago

acruikshank commented 3 years ago

Problem

The objectId (i.e. the followee or unfollowee) of a graph change announcement is missing from the output when reading from a parquet batch created with the SDK. It turns out this field is never written to the file.

Solution

Add objectId to the parquet schema for graph change announcements.

Double Checks:

Change summary:

Steps to Verify:

  1. Write a GraphChange annoucement to a batch file.
  2. Either inspect the file directly or read its contents.
  3. Note that it contains data for the objectId.