Closed benjaminbollen closed 1 year ago
@jorgeantonio21 we are now failing on flush: primary key "id" is not part of the insert operation
thread 'main' panicked at 'Failed to execute query: FailedToExecuteQuery { query: "INSERT INTO ethereummainnet.eth_blockheaders (hash,number,parent_hash,timestamp) VALUES ('dfe2e70d6c116a541101cecbb256d7402d62125f6ddc9b607d49edc989825c64',100,'db10afd3efa45327eb284c83cc925bd9bd7966aea53067c1eebe0724d124ec1e','2015-07-30T15:34:03Z')", error: "null value in column \"id\" of relation \"eth_blockheaders\" violates not-null constraint" }', eureka-sink-postgres/db/src/flush.rs:31:30
superceding #67 (because I had a bunch of messy commits locally on that branch; restarted from latest develop)
on the good side:
these tables are returned
but then we still error on the later query: