[Bug] SQL Preamble for overriding Snowflake Warehouse not working

Query executed successfully, but the first statement returned an update count (result set required).

This error shows up if you put USE WAREHOUSE <name>; in sql_preamble in the explore.

The main thing this parameter would be useful for is actually not working because USE WAREHOUSE returns a status column “Statement executed successfully” and Looker is reading it as a result set.

1 Like