Error: dbt incremental model on BQ Partitioned table using string field

I raised another issue for the Prehook - macro one. Adding it just for your reference and help.