-
Notifications
You must be signed in to change notification settings - Fork 22
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
Align documentation for COPY command with current parser implementation #661
Conversation
… COPY command. Problem description: In cases where the COPY command is used with new syntax where options are listed in parentheses, "FILL MISSING FIELD" option is causing a syntax error. Old syntax without parentheses works fine. Root cause: Parser's rule for every option in the list of options (nonterminal symbol copy_generic_opt_elem) currently expects that every option has a form of "string without spaces" plus optional "space" and "argument". 'FILL MISSING FIELD' doesn't match this pattern. Fix: Added handling of the "FILL MISSING FIELDS" option to the grammar file for the nonterminal symbol copy_generic_opt_elem.
…ess/input/copy.source
Allure report https://allure-ee.adsw.io/launch/60231 |
Failed job Resource group isolation tests on x86_64: https://gitlab.adsw.io/arenadata/github_mirroring/gpdb/-/jobs/877297 |
Failed job Resource group isolation tests on ppc64le: https://gitlab.adsw.io/arenadata/github_mirroring/gpdb/-/jobs/877298 |
Reverted changes in grammar file from commit 5721ff2. Also updated COPY command test to check 'FILL_MISSING_FIELDS' 'ON_SEGMENT' '[LOG ERRORS] SEGMENT REJECT LIMIT <count> [ [ROWS] | PERCENT ]' 'IGNORE EXTERNAL PARTITIONS' 'NEWLINE' statements.
Allure report https://allure-ee.adsw.io/launch/61997 |
Failed job Resource group isolation tests on x86_64: https://gitlab.adsw.io/arenadata/github_mirroring/gpdb/-/jobs/975477 |
Failed job Resource group isolation tests on ppc64le: https://gitlab.adsw.io/arenadata/github_mirroring/gpdb/-/jobs/975478 |
Failed job Regression tests with ORCA on x86_64: https://gitlab.adsw.io/arenadata/github_mirroring/gpdb/-/jobs/975468 |
Updated COPY command documentation to fix mismatches with parser implementation
for following statements:
'FILL_MISSING_FIELDS'
'ON_SEGMENT'
'[LOG ERRORS] SEGMENT REJECT LIMIT [ [ROWS] | PERCENT ]'
'IGNORE EXTERNAL PARTITIONS'
'NEWLINE'
Plus updated COPY test for minimal syntax check of these statements.