Skip to content

Conversation

@avamingli
Copy link
Contributor

  • Fix 'EXITS' to 'EXISTS' in DROP TABLE IF EXISTS statements
  • Fix same typo in other code locations
The original error was causing SQL syntax failures: ERROR:  syntax error at or near "EXITS"
LINE 1: DROP TABLE IF EXITS cte_bug.store_sales;
                      ^

Authored-by: Zhang Mingli [email protected]

Fixes #ISSUE_Number

What does this PR do?

Type of Change

  • Bug fix (non-breaking change)
  • New feature (non-breaking change)
  • Breaking change (fix or feature with breaking changes)
  • Documentation update

Breaking Changes

Test Plan

  • Unit tests added/updated
  • Integration tests added/updated
  • Passed make installcheck
  • Passed make -C src/test installcheck-cbdb-parallel

Impact

Performance:

User-facing changes:

Dependencies:

Checklist

Additional Context

CI Skip Instructions


- Fix 'EXITS' to 'EXISTS' in DROP TABLE IF EXISTS statements
- Fix same typo in other code locations

The original error was causing SQL syntax failures:
ERROR:  syntax error at or near "EXITS"
LINE 1: DROP TABLE IF EXITS cte_bug.store_sales;
                      ^

Authored-by: Zhang Mingli [email protected]
Copy link
Contributor

@gfphoenix78 gfphoenix78 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice catch!

@avamingli avamingli merged commit 32afd27 into apache:main Nov 17, 2025
28 checks passed
@avamingli avamingli deleted the fix_exists_typos branch November 17, 2025 05:24
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.

3 participants