snowflake.snowpark.functions.current_schemas¶
- snowflake.snowpark.functions.current_schemas() Column [source]¶
Returns active search path schemas.
Example
>>> # Return result is tied to session, so we only test if the result exists >>> result = session.create_dataframe([1]).select(current_schemas()).collect() >>> assert result[0]['CURRENT_SCHEMAS()'] is not None