Skip to content

Commit c90166c

Browse files
Add Parquet as part of the default emitters when not present (#1407)
Add Parquet as part of the default emitters when not pressent
1 parent 51912b2 commit c90166c

File tree

2 files changed

+8
-0
lines changed

2 files changed

+8
-0
lines changed
Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
{
2+
"type": "patch",
3+
"description": "Add Parquet as part of the default emitters when not pressent"
4+
}

graphrag/api/index.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -59,6 +59,10 @@ async def build_index(
5959
msg = "Cannot resume and update a run at the same time."
6060
raise ValueError(msg)
6161

62+
# Ensure Parquet is part of the emitters
63+
if TableEmitterType.Parquet not in emit:
64+
emit.append(TableEmitterType.Parquet)
65+
6266
config = _patch_vector_config(config)
6367

6468
pipeline_config = create_pipeline_config(config)

0 commit comments

Comments
 (0)