Skip to content

Commit 44f816d

Browse files
committed
druid records ingestion task creation changes
1 parent cd63c7d commit 44f816d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

command-service/src/command/druid_command.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ def _submit_ingestion_task(self, dataset_id):
4747
)
4848
task_submitted = 1
4949
for record in datasources_records:
50-
if record["dataset_type"] == "event" and record["type"] == "druid":
50+
if record["type"] == "druid":
5151
print(f"Submitting ingestion task for datasource ...")
5252
ingestion_spec = json.dumps(record["ingestion_spec"])
5353
response = self.http_service.post(

0 commit comments

Comments
 (0)