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

#469 Support Complex type -- part 1 #471

Merged
merged 6 commits into from
Nov 11, 2022
Merged

Conversation

sitingren
Copy link
Member

Partial fix for #469.

Server since v12.0.2 will send complex types (ARRAY, ROW, MAP, SET) OIDs to the client, which can be retrieved by the ' type_code' of Cursor.description. Cursor.description is a list of Column objects, there is a new Column.child_columns that returns a list of child Column objects for nested complex types (e.g. ARRAY[ARRAY[INT]], ROW(NUMERIC, ARRAY[VARCHAR])). This type hierarchy will be used to parse complex types data.

@sitingren sitingren added the protocol requires Vertica protocol knowledge label Nov 11, 2022
@sitingren sitingren merged commit dfbd90a into vertica:master Nov 11, 2022
@sitingren sitingren deleted the complex-type branch November 11, 2022 14:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
protocol requires Vertica protocol knowledge
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant