v.20.5New Feature

Added system.licenses table for third-party library licenses in contrib directory

Added system.licenses table. This table contains licenses of third-party libraries that are located in contrib directory. This closes #2890. #10795 (alexey-milovidov).
Added the system.licenses table to provide information about licenses of third-party libraries located in the contrib directory.

Why it matters

This feature addresses the need for transparency and compliance by allowing users to easily query and review the licenses of third-party components bundled with ClickHouse. It simplifies the process of license verification for auditing and legal purposes.

How to use it

Users can query the new system.licenses table using standard SELECT statements to view license information for the third-party libraries included in the contrib directory. For example:

SELECT * FROM system.licenses