You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
substreams-sink-sql setup $DSN docs/tutorial/substreams-clickhouse.yaml
new psql loader: driver clickhouse does not support reorg handling. You must use set a non-zero undo-buffer-size
It'll fail since you need to set undo-buffer-size > 0. In change log it recommends 12. But
nice catch @anthonyra !
Instead of adding the support for that flag, I made the setup aware of the backend capabilities: it will now automatically create the reorg table on postgres, and not try to do so on clickhouse.
The user can still decide if it wants to use the reorg or the undo-buffer when running on postgres, the behavior will be unchanged for clickhouse.
If you run the following command
It'll fail since you need to set
undo-buffer-size
> 0. In change log it recommends 12. Butsubstreams-sink-sql setup $DSN docs/tutorial/substreams-clickhouse.yaml --undo-buffer-size=12 unknown flag: --undo-buffer-size
The text was updated successfully, but these errors were encountered: