Skip to content

Commit af9a25f

Browse files
committed
add comment
1 parent ae8156c commit af9a25f

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

phenex/ibis_connect.py

+10
Original file line numberDiff line numberDiff line change
@@ -119,6 +119,16 @@ def _connect(self, database) -> BaseBackend:
119119
'''
120120
database, schema = database.split('.')
121121

122+
#
123+
# In Ibis speak: catalog = collection of databases
124+
# database = collection of tables
125+
# schema = columns and column types
126+
# In snowflake speak: database = collection of schemas = ibis catalog
127+
# schema = collection of tables = ibis database
128+
#
129+
# In the below connect method, the arguments are the SNOWFLAKE terms.
130+
#
131+
122132
if self.SNOWFLAKE_PASSWORD:
123133
return ibis.snowflake.connect(
124134
user=self.SNOWFLAKE_USER,

0 commit comments

Comments
 (0)