Skip to content

ORCA: clear error state after hash pruning failures - #2497

Open
reshke wants to merge 1 commit into
apache:mainfrom
reshke:fix-sqllancer-errordata-stack
Open

reshke wants to merge 1 commit into
apache:mainfrom
reshke:fix-sqllancer-errordata-stack

Conversation

@reshke

@reshke reshke commented Dec 4, 2026

Copy link
Copy Markdown
Contributor

When FHashPartitionPruned ignores a GPDB evaluation error, restore the memory context and clear PostgreSQL error state before resetting the GPOS exception. Propagate query cancellation so statement_timeout remains effective.

SQLancer report at ec69267: PANIC: ERRORDATA_STACK_SIZE exceeded (elog.c:972).

When FHashPartitionPruned ignores a GPDB evaluation error, restore the memory context and clear PostgreSQL error state before resetting the GPOS exception. Propagate query cancellation so statement_timeout remains effective.

SQLancer report at ec69267: PANIC: ERRORDATA_STACK_SIZE exceeded (elog.c:972).
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant