yjhjstz commented on code in PR #702:
URL: https://github.com/apache/cloudberry/pull/702#discussion_r1832082132


##########
src/backend/optimizer/plan/aqumv.c:
##########
@@ -151,6 +151,9 @@ answer_query_using_materialized_views(PlannerInfo *root,
                has_subclass(origin_rel_oid))
                return mv_final_rel;
 
+       if (get_rel_relkind(origin_rel_oid) == RELKIND_FOREIGN_TABLE && 
!aqumv_allow_foreign_table)

Review Comment:
   > create readable external table aqumv_ext_r(id int) 
   location ('demoprot://aqumvtextfile.txt') format 'text';
   
   1. can we mantain `aqumvtextfile.txt`status in `gp_matview_aux`use file 
timestamp?



-- 
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: commits-unsubscr...@cloudberry.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscr...@cloudberry.apache.org
For additional commands, e-mail: commits-h...@cloudberry.apache.org

Reply via email to