Skip to content

Instantly share code, notes, and snippets.

@zdravko-il
Last active March 28, 2023 12:14
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save zdravko-il/f93e7e978eaf81b3afc18b61dfbdf642 to your computer and use it in GitHub Desktop.
Save zdravko-il/f93e7e978eaf81b3afc18b61dfbdf642 to your computer and use it in GitHub Desktop.
# Bad practice - max overwrites the built-in Python function:
from snowflake.snowpark.functions import max
# Recommended import style:
import snowflake.snowpark.functions as F
import snowflake.snowpark.types as T
# Or use an alias to import a single function
from snowflake.snowpark.functions import max as snf_max
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment