alinaliBQ opened a new issue, #47867:
URL: https://github.com/apache/arrow/issues/47867

   ### Describe the enhancement requested
   
   AC:
   - Restrict fields based on AppDescriptor IPD, and IRD. This impacts ODBC API 
`SQLGetDescField`
   
   The fields at:
   
https://github.com/apache/arrow/blob/5f616db1491478dc85cc62eb0771730224479750/cpp/src/arrow/flight/sql/odbc/odbc_impl/odbc_descriptor.cc#L317-L318
   
   should only be allowed based on AppDescriptor type. Some fields are 
IPD-only, and some are IRD only. So if a field is IRD only and the descriptor 
is IPD, then user cannot access that field because it is not applicable. See 
https://learn.microsoft.com/en-us/sql/odbc/reference/syntax/sqlsetdescfield-function?view=sql-server-ver17
 for more information. 
   
   
   Parent issue: https://github.com/apache/arrow/issues/30622
   
   ### Component(s)
   
   FlightRPC, C++


-- 
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]

Reply via email to