snowflake query read from data and cache