Snowflake makes SQL retrieval for Cortex Search generally available
With CORTEX_SEARCH_RETRIEVE, a SQL statement can run a single lookup or search separately for each input row, then join or aggregate the matches.
Snowflake has made CORTEX_SEARCH_RETRIEVE generally available, letting users query an existing Cortex Search service directly from SQL. The table function is available in every region where Cortex Search is offered.
A SQL statement can run a single lookup or use a lateral join to run one search for each input row, taking the search text from a column. The function returns matches as rows that the statement can join with other data or aggregate. Snowflake sets a default limit of 10 results per search.
Snowflake designed Retrieve for interactive lookups, such as fetching documents when a chatbot gets a question. The function uses the same serving resources as the service’s Python and REST search APIs. Snowflake bills for existing Cortex Search service usage and for the warehouse compute used to run the SQL statement.
For bulk jobs such as finding duplicate records, Snowflake offers CORTEX_SEARCH_BATCH. The function uses separate serving compute and can query a service with its interactive serving layer suspended.
Retrieve requires the querying role to have USAGE on the service and the service’s serving layer to be running. Snowflake says the first search after an inactivity-triggered suspension restarts serving and takes longer. A manual suspension requires an explicit RESUME SERVING command.
Retrieve excludes services accessed through a share, listing or data application. Snowflake directs users of those services to its Python or REST search APIs.
More news

AWS makes the Amazon Bedrock Trusted Access API generally available

doola announces 50-state company formation and AI Co-Founder access through MCP

AWS makes Amazon Textract Insights generally available in two US Regions
