postgres-kafka-demo
postgres-kafka-demo copied to clipboard
The RESEARCH_AVE_BOOST ksql does not return any results
I went through the entire example, until the end. I cross checked the creation of the table and data all through.
The only modification I had to do was the creation as below.
CREATE TABLE research_ave_boost WITH (KAFKA_TOPIC='research_ave_boost', VALUE_FORMAT='delimited') AS SELECT research, SUM(admit_chance)/COUNT(admit_chance) as ave_chance FROM research_boost GROUP BY research;
However this query in ksql does not return any results.
`SELECT "AVE_CHANCE" FROM "RESEARCH_AVE_BOOST"
WHERE cast("RESEARCH" as INT)=0;`