Skip to content

Commit

Permalink
docs(snowflake): fix the syntax for passing schema (#9831)
Browse files Browse the repository at this point in the history
Co-authored-by: Phillip Cloud <417981+cpcloud@users.noreply.github.com>
  • Loading branch information
deepyaman and cpcloud authored Aug 14, 2024
1 parent e3d02bd commit c99cb4b
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
6 changes: 4 additions & 2 deletions docs/backends/snowflake.qmd
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,8 @@ con = ibis.snowflake.connect(
user="user",
password="password",
account="safpqpq-sq55555",
database="IBIS_TESTING/IBIS_TESTING",
database="my_database",
schema="my_schema",
)
```

Expand Down Expand Up @@ -119,7 +120,8 @@ APIs. All values of `authenticator` are supported.
con = ibis.snowflake.connect(
user="user",
account="safpqpq-sq55555",
database="my_database/my_schema",
database="my_database",
schema="my_schema",
warehouse="my_warehouse",
authenticator="externalbrowser",
)
Expand Down
2 changes: 1 addition & 1 deletion ibis/backends/snowflake/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -545,7 +545,7 @@ def get_schema(
# snowflake puts temp tables in the same catalog and database as
# non-temp tables and differentiates between them using a different
# mechanism than other database that often put temp tables in a hidden
# or intentionall-difficult-to-access catalog/database
# or intentionally-difficult-to-access catalog/database
table = sg.table(
table_name, db=database, catalog=catalog, quoted=self.compiler.quoted
)
Expand Down

0 comments on commit c99cb4b

Please sign in to comment.