eric-wang-1990 opened a new pull request, #2926: URL: https://github.com/apache/arrow-adbc/pull/2926
# Improve metadata query handling in C# drivers ## Summary This PR makes several improvements to metadata query handling in the C# drivers: 1. Removes underscore escaping for exact match queries (GetPrimaryKeys, GetCrossReference) in the Hive driver 2. Fixes cross-reference handling in the Databricks driver to check both primary and foreign catalogs 3. Updates tests to handle different integer types (Int16/Int32) in FK_INDEX column 4. Adds implementation for foreign key table creation in Databricks tests ## Motivation The current implementation incorrectly escapes underscores in exact match queries, which can lead to incorrect results when querying metadata for tables with underscores in their names. Additionally, the Databricks driver was not properly handling cross-references when one catalog was valid but the other was invalid. ## Testing - Updated existing tests to handle the different integer types that may be returned - Added implementation for foreign key table creation in Databricks tests Closes #XXXX (replace with actual issue number if one exists) -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
