v.22.12New Feature
Added support for array as second parameter in cutURLParameter function
Added possibility to use an array as a second parameter for cutURLParameter function. It will cut multiple parameters. Close #6827. #43788 (Roman Vasin).Why it matters
This feature addresses the need to efficiently strip multiple query parameters from URL strings without invokingcutURLParameter repeatedly. It simplifies URL preprocessing and enhances query performance when cleaning URLs by removing several parameters at once.How to use it
UsecutURLParameter with an array of parameter names as the second argument to remove all listed parameters from the URL. For example:SELECT cutURLParameter('https://example.com?a=1&b=2&c=3', ['a', 'c'])This call removes both
a and c parameters from the URL.