Skip to content

Commit

Permalink
Saksham/demoqa fixes (#7989)
Browse files Browse the repository at this point in the history
GitOrigin-RevId: 6a54fe6d5bfc293c018dba3ccdc5cd2601f25786
  • Loading branch information
Saksham65 authored and Manul from Pathway committed Jan 30, 2025
1 parent 4120db6 commit df76583
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -309,7 +309,7 @@ class InputSchema(pw.Schema):
input_table = pw.io.kafka.read(kafka_settings, schema=InputSchema, topic="topic1", format="json")
filtered_table = input_table.filter(input_table.age >= 0)
result_table = filtered_table.reduce(sum_age = pw.reducers.sum(filtered_table.age))
pw.io.kafka.write(table, kafka_settings, topic="topic2", format="json")
pw.io.kafka.write(result_table, kafka_settings, topic="topic2", format="json")

pw.run()
```
Expand Down

0 comments on commit df76583

Please sign in to comment.