davidradl commented on code in PR #27222:
URL: https://github.com/apache/flink/pull/27222#discussion_r2513541506


##########
docs/content/docs/dev/table/materialized-table/statements.md:
##########
@@ -268,10 +287,24 @@ CREATE MATERIALIZED TABLE my_materialized_table_full
     GROUP BY
         p.ds, p.product_id, p.product_name
 ```
+And same materialized table with explicitly specified columns 
+
+```sql
+CREATE MATERIALIZED TABLE my_materialized_table_full (
+    ds, product_id, product_name, avg_sale_price, total_quantity)
+    ...
+```
+Order of columns doesn't necessary should be same as in query, Flink will do 
reordering if required
+i.e. this will be also valid
+```sql
+CREATE MATERIALIZED TABLE my_materialized_table_full (
+    product_id, product_name, ds, avg_sale_price, total_quantity)
+    ...
+```
 
 ## Limitations
 
-- Does not support explicitly specifying columns
+- Does not support explicitly specifying physical columns which are not used 
in a query 

Review Comment:
   nit : a query -> the query



-- 
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]

Reply via email to