Skip to content

Commit 58989b0

Browse files
authored
metadata-service[orchestrator]: avoid "too large" errors in generate_registry_reports (#45336)
1 parent 7ffcd3d commit 58989b0

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

airbyte-ci/connectors/metadata_service/orchestrator/orchestrator/utils/dagster_helpers.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,8 @@ def output_dataframe(result_df: pd.DataFrame) -> Output[pd.DataFrame]:
1717
Returns a Dagster Output object with a dataframe as the result and a markdown preview.
1818
"""
1919

20-
# Truncate to 100 rows to avoid dagster throwing a "too large" error
21-
MAX_PREVIEW_ROWS = 100
20+
# Truncate to 10 rows to avoid dagster throwing a "too large" error
21+
MAX_PREVIEW_ROWS = 10
2222
is_truncated = len(result_df) > MAX_PREVIEW_ROWS
2323
preview_result_df = result_df.head(MAX_PREVIEW_ROWS)
2424

airbyte-ci/connectors/metadata_service/orchestrator/pyproject.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[tool.poetry]
22
name = "orchestrator"
3-
version = "0.5.3"
3+
version = "0.5.4"
44
description = ""
55
authors = ["Ben Church <[email protected]>"]
66
readme = "README.md"

0 commit comments

Comments
 (0)