yjhjstz commented on code in PR #1332: URL: https://github.com/apache/cloudberry/pull/1332#discussion_r2305122318
########## src/backend/commands/analyze.c: ########## @@ -1643,7 +1643,7 @@ gp_acquire_sample_rows_func(Relation onerel, int elevel, totalrows, totaldeadrows); } - if (RelationIsAppendOptimized(onerel)) + if (onerel->rd_tableam->relation_acquire_sample_rows) Review Comment: Add some comment to remind other developer. -- 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