Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
indexer-alt: treat None as NULL (#20704)
## Description Pick out this change from the bigger #20482. `DEFAULT VALUE` is not something we use, and treating `None` as `DEFAULT VALUE` means we have to prepare different statements for each insert/update based on where the `None`'s appear. By treating `None` as `NULL`, we get to re-use prepared statements more, and the query sampler will do a better job grouping similar inserts/updates. ## Test plan Run indexer on coin balances and object info, locally, for the first 10,000 checkpoints. --- ## Release notes Check each box that your changes affect. If none of the boxes relate to your changes, release notes aren't required. For each box you select, include information after the relevant heading that describes the impact of your changes that a user might notice and any actions they must take to implement updates. - [ ] Protocol: - [ ] Nodes (Validators and Full nodes): - [ ] Indexer: - [ ] JSON-RPC: - [ ] GraphQL: - [ ] CLI: - [ ] Rust SDK: - [ ] REST API:
- Loading branch information