substreams-sink-sql setup $DSN ./substreams.yaml
2025-08-01T04:36:10.832+0800 INFO (pipeline) computed start block {"module_name": "map_program_data", "start_block": 0}
2025-08-01T04:36:10.832+0800 INFO (pipeline) computed start block {"module_name": "db_out", "start_block": 0}
2025-08-01T04:36:10.833+0800 INFO (sink-sql) created new DB loader {"batch_block_flush_interval": 0, "batch_row_flush_interval": 0, "live_block_flush_interval": 0, "on_module_hash_mismatch": "Error", "handle_reorgs": false, "dialect": "*db.ClickhouseDialect"}
setup: exec userSql: exec schemaName: code: 62, message: Empty query
Currently testing with ClickHouse as seen in the log. (Have not tested this with a PG DB).
-- Some comment herein yourschema.sqlfile will causesubstreams-sink-sql setup $DSN ./substreams.yamlto fail with something like:Currently testing with ClickHouse as seen in the log. (Have not tested this with a PG DB).