Repository navigation
Fix plain COPY crash and restore copy_test to test suite - #22
Merged
Merged
Conversation
mkottakota1
requested changes
Jul 16, 2026
Collaborator
|
Apart from that changes are looking good |
Collaborator
|
I have reviewed the changes and analyzed the impact on adding " // Plain COPY: column-filter param present but empty -> load all columns. As requested in Teams, please run a sample program to load the specified columns. |
mkottakota1
approved these changes
Jul 16, 2026
mkottakota1
left a comment
Collaborator
There was a problem hiding this comment.
The changes are looking good and Fix is covering all the scenerios
Collaborator
Author
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.

Issue-
Running a plain COPY with the ODBC loader was failing with ERROR 3399: InvokeSetupUDL(): UDx side process has exited abnormally. The external table path worked fine, only plain COPY crashed.
Root Cause-
I traced it back to commit eae4c95 (#19), which added column pruning. That change made the code use vidx.at(i) to map columns, and vidx only gets filled when the hidden column-filter params (query_col_name / query_col_idx) are sent.
On a plain COPY those params are sent but empty. Two things went wrong because of that:
Fix-
Testing-