Skip to content

Commit

Permalink
add row count
Browse files Browse the repository at this point in the history
  • Loading branch information
cnolanminich committed Sep 20, 2024
1 parent 6508c7a commit b75da24
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion hooli-demo-assets/hooli_demo_assets/assets/sling.py
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,6 @@ def get_tags(self, stream_definition):
dagster_sling_translator=CustomSlingTranslator(),
)
def my_sling_assets(context, sling: SlingResource):
yield from sling.replicate(context=context).fetch_column_metadata()
yield from sling.replicate(context=context).fetch_column_metadata().fetch_row_count()
for row in sling.stream_raw_logs():
context.log.info(row)

0 comments on commit b75da24

Please sign in to comment.