diff --git a/examples/quickstart_snowflake/quickstart_snowflake/assets/hackernews.py b/examples/quickstart_snowflake/quickstart_snowflake/assets/hackernews.py index f54857de849c4..4f1500f8052e2 100644 --- a/examples/quickstart_snowflake/quickstart_snowflake/assets/hackernews.py +++ b/examples/quickstart_snowflake/quickstart_snowflake/assets/hackernews.py @@ -36,6 +36,9 @@ def hackernews_topstories( df = pd.DataFrame(results) + # Rename the column to avoid conflict with the reserved keyword "by" + df.rename(columns={"by": "by_"}, inplace=True) + # Dagster supports attaching arbitrary metadata to asset materializations. This metadata will be # shown in the run logs and also be displayed on the "Activity" tab of the "Asset Details" page in the UI. # This metadata would be useful for monitoring and maintaining the asset as you iterate.