This is an automated email from the ASF dual-hosted git repository. tuhaihe pushed a commit to branch main in repository https://gitbox.apache.org/repos/asf/cloudberry.git
commit 98fda2fb31979c012b8631fe321cb73af6a4ce8e Author: Dianjin Wang <[email protected]> AuthorDate: Wed Jul 1 18:47:08 2026 +0800 Fix egrep deprecation warning in maskout.sh pg_hint_plan's maskout.sh filtered plan output through `egrep`. On Rocky Linux 10 that prints "egrep is obsolescent; using grep -E" to stderr, which leaked into the rowhints test output and broke the regression diff. Use `grep -E` directly. Assisted-by: Claude Code --- gpcontrib/pg_hint_plan/sql/maskout.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gpcontrib/pg_hint_plan/sql/maskout.sh b/gpcontrib/pg_hint_plan/sql/maskout.sh index 141d679479f..43ce959fabf 100755 --- a/gpcontrib/pg_hint_plan/sql/maskout.sh +++ b/gpcontrib/pg_hint_plan/sql/maskout.sh @@ -1,4 +1,4 @@ #! /bin/sh cat $1 | \ sed 's/cost=10\{7\}[\.0-9]\+ /cost={inf}..{inf} /;s/cost=[\.0-9]\+ /cost=xxx..xxx /;s/width=[0-9]\+\([^0-9]\)/width=xxx\1/;s/^ *QUERY PLAN *$/ QUERY PLAN/;s/^--*$/----------------/' |\ -egrep -v "^ *((Planning time|JIT|Functions|Options):|\([0-9]* rows\))" +grep -E -v "^ *((Planning time|JIT|Functions|Options):|\([0-9]* rows\))" --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
