paleolimbot opened a new pull request, #1083:
URL: https://github.com/apache/arrow-adbc/pull/1083

   Closes #1066.
   
   This may be superceeded at some point to use the versions provided by some 
APIs and/or something we build into the drivers; however, we don't have access 
to the low-level pointers (e.g., `PGconn*`) outside the C driver 
implementations that would be required to leverage something like libpq's 
`PQescapeidentifier()`.
   
   This implementation was inspired by RSQLite ( 
https://github.com/r-dbi/RSQLite/blob/main/R/dbQuoteIdentifier_SQLiteConnection_character.R#L9-L21
 ) but leaves the details of "marking" output as `SQL()` to something at a 
higher level (i.e., this generic is just a chance for the driver to perform a 
transformation).
   
   I don't think we ship any drivers at the moment that don't use the standard 
SQL quoting mechanism (e.g., MySQL or Access); however, I'm happy to implement 
specializations in other driver packages if this comes up.


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