issue #22289 remove dropIfExists from function definition