Skip to content

Commit

Permalink
Remove a macro that is entirely a docstring (#1185)
Browse files Browse the repository at this point in the history
* remove a macro that only contains a docstring
  • Loading branch information
mikealfare authored Sep 19, 2024
1 parent 0bfef5b commit 084674f
Showing 1 changed file with 0 additions and 14 deletions.
14 changes: 0 additions & 14 deletions dbt/include/snowflake/macros/materializations/table.sql
Original file line number Diff line number Diff line change
Expand Up @@ -72,17 +72,3 @@ def main(session):
materialize(session, df, dbt.this)
return "OK"
{% endmacro %}

{% macro py_script_comment()%}
# To run this in snowsight, you need to select entry point to be main
# And you may have to modify the return type to text to get the result back
# def main(session):
# dbt = dbtObj(session.table)
# df = model(dbt, session)
# return df.collect()

# to run this in local notebook, you need to create a session following examples https://github.com/Snowflake-Labs/sfguide-getting-started-snowpark-python
# then you can do the following to run model
# dbt = dbtObj(session.table)
# df = model(dbt, session)
{%endmacro%}

0 comments on commit 084674f

Please sign in to comment.