-
Notifications
You must be signed in to change notification settings - Fork 95
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
refactor(csharp/test/Drivers/Interop/Snowflake): Updated the metadata tests to work without the db name #1352
Conversation
Similar to PR: #1351, except for The implementation is based on proposal: https://github.com/apache/arrow-adbc/issues/1332##Proposal and improving existing API implementation. |
|
…or INFORMATION_SCHEMA calls, and removed SQL cursor code Additional changes: * Reduced SQL calls by making only 1 - 2 SQL call based on the ObjectsDepth and using that data to populate all the previous depth information * There is one SHOW TERSE DATABASES that is always called and the catalogPattern is used to filter the databases and prepare the SQL based on the depth for schema, tables, or columns * The SQL cursor code was removed and the replaced with a static SQL that is prepared in Go based on the databases that match the catalogPattern * GetObjects populates the MetadataRecords by making the necessary SQL call based on ObjectsDepth * Modified the logic of GetObjects Init to pass MetadataRecords in getObjectsDbSchemas and getObjectsTables * Modified tests to check the table type returned
…verifying the generated SQL
…single prepareFilterConditions function
b5e148c
to
b76af78
Compare
…ducingsqlcalls_nocursor
…lls_nocursor' of https://github.com/ryan-syed/arrow-adbc into dev/ryansyed/fix_getobjects_withoutdbname_reducingsqlcalls_nocursor
…lls_nocursor' of https://github.com/ryan-syed/arrow-adbc into dev/ryansyed/fix_getobjects_withoutdbname_reducingsqlcalls_nocursor
…lls_nocursor' of https://github.com/ryan-syed/arrow-adbc into dev/ryansyed/fix_getobjects_withoutdbname_reducingsqlcalls_nocursor
Functionality changes seems to be merged already in PR: #1338. Some trivial changes for |
So the only material changes remaining are in the test? |
If so do you mind reverting the spurious Go changes and updating the PR title and description? |
I have removed the whitespace changes and updated the title and description. |
Changes:
DriverTests.cs