raminqaf commented on code in PR #28758:
URL: https://github.com/apache/flink/pull/28758#discussion_r3643805919
##########
flink-examples/flink-examples-table/src/main/java/org/apache/flink/table/examples/java/basics/WordCountSQLExample.java:
##########
@@ -34,15 +34,7 @@ public static void main(String[] args) throws Exception {
// execute a Flink SQL job and print the result locally
tableEnv.executeSql(
// define the aggregation
- "SELECT word, SUM(frequency) AS `count`\n"
- // read from an artificial fixed-size table
with rows and columns
- + "FROM (\n"
- + " VALUES ('Hello', 1), ('Ciao', 1),
('Hello', 2)\n"
- + ")\n"
- // name the table and its columns
- + "AS WordTable(word, frequency)\n"
- // group for aggregation
- + "GROUP BY word")
+ "SELECT PARSE_JSON('Infinity')")
Review Comment:
ups. Reverted
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]