Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix directory table ci test unstable. #733

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

wenchaozhang-123
Copy link
Contributor

As two directory schema tables have the approximately the same in tuples count, the join plan is unstable. We fix this by adding more tuples to one schema table.

Authored-by: Zhang Wenchao [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

⚠️ To skip CI: Add [skip ci] to your PR title. Only use when necessary! ⚠️


As two directory schema tables have the approximately the same in tuples
count, the join plan is unstable. We fix this by adding more tuples to
one schema table.

Authored-by: Zhang Wenchao [email protected]
@@ -802,23 +802,75 @@ NOTICE: dir_table1 INSERT AFTER ROW (seg2 127.0.1.1:7004 pid=31192)
ERROR: syntax error at or near "WITH"
LINE 1: ...dir_table1 FROM STDIN 'nation5' WITH TAG 'nation' WITH TAG '...
^
\COPY BINARY dir_table1 FROM '@abs_srcdir@/data/nation.csv' 'nation6';
NOTICE: dir_table1 INSERT AFTER ROW (seg0 127.0.1.1:7002 pid=21790)
Copy link
Contributor

Choose a reason for hiding this comment

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

Does these seg info like ip:port, pid count when matching the result?

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.

2 participants