normanj-bitquill opened a new pull request, #40988:
URL: https://github.com/apache/arrow/pull/40988

   ### Rationale for this change
   
   When retrieving database metadata using the JDBC driver, some data such as 
SQL keywords could be null. Before this change, an NPE would be thrown when 
trying to convert the list of SQL keywords into a String.
   
   ### What changes are included in this PR?
   
   The following database metadata fields:
   
   * SQL keywords
   * Numeric functions
   * String functions
   * System functions
   * Time/date functions
   
   will convert to an empty string when they are null.
   
   ### Are these changes tested?
   
   A unit test has been added to verify that the fields above are converted to 
the empty string when null, with no exceptions thrown.
   
   ### Are there any user-facing changes?
   
   The fields above will now return an empty string rather than throw an NPE.


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