Skip to content

Commit

Permalink
docs(blog): update a post to use from_connection
Browse files Browse the repository at this point in the history
  • Loading branch information
deepyaman authored and cpcloud committed Jul 24, 2024
1 parent 003b3dc commit 6c21775
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions docs/posts/run-on-snowflake/index.qmd
Original file line number Diff line number Diff line change
Expand Up @@ -38,8 +38,8 @@ figure out, and these are the questions we will answer throughout the post.

## Getting the Ibis connection

The release of Ibis 9.0 includes the introduction of a new method,
[`from_snowpark`](../../backends/snowflake.qmd#ibis.backends.snowflake.Backend.from_snowpark)
The release of Ibis 9.2 includes the introduction of a new method,
[`from_connection`](../../backends/snowflake.qmd#ibis.backends.snowflake.Backend.from_connection)
to provide users with a convenient mechanism to take an existing Snowpark
session and create an Ibis Snowflake backend instance with it.

Expand All @@ -50,7 +50,7 @@ import ibis
import snowflake.snowpark as sp

session = sp.Session.builder.create()
con = ibis.snowflake.from_snowpark(session)
con = ibis.snowflake.from_connection(session)
```

This connection uses the same session within Snowflake, so temporary objects
Expand Down

0 comments on commit 6c21775

Please sign in to comment.