Skip to content

Commit

Permalink
[docs-beta] re-introduce missing ingestion example (#24215)
Browse files Browse the repository at this point in the history
## Summary & Motivation

## How I Tested These Changes

## Changelog [New | Bug | Docs]

NOCHANGELOG
  • Loading branch information
cmpadden authored Sep 4, 2024
1 parent 1722779 commit 7e9c403
Showing 1 changed file with 1 addition and 8 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -52,14 +52,7 @@ Writing code in a language like Python to ingest data into a platform is also a

For example, imagine there's a CSV file of counties on the internet and you want to load it into your Snowflake data warehouse as a table. To do this, you might directly define an asset that represents that table in your warehouse. The asset's materialization function fetches data from the internet and loads it into that table:

{/* TODO update example */}

```python
@asset
def counties(snowflake: SnowflakeResource) -> None:
data = fetch_some_data()
snowflake.conn.execute("INSERT INTO ...")
```
<CodeExample filePath="guides/data-ingestion/custom-data-ingestion.py" language="python" title="Custom data ingestion" />

## Next steps

Expand Down

1 comment on commit 7e9c403

@github-actions
Copy link

@github-actions github-actions bot commented on 7e9c403 Sep 4, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Deploy preview for dagster-docs-beta ready!

✅ Preview
https://dagster-docs-beta-qvn8l6gbi-elementl.vercel.app
https://dagster-docs-beta.dagster-docs.io

Built with commit 7e9c403.
This pull request is being automatically deployed with vercel-action

Please sign in to comment.