The proposed solution in pull request #214 resolves this specific issue. However, it's essential to acknowledge that this fix might introduce potential compatibility issues with existing codebases.
It seems that the changes made in https://github.com/smi2/phpClickHouse/pull/190 addressed a specific case, but other common scenarios may have been overlooked, so I've implemented an early exit from function when ON CLUSTER does not exist.
That changes https://github.com/smi2/phpClickHouse/pull/190 prevent that queries from being executed:
CREATE FUNCTION ...
orDROP FUNCTION ...
The proposed solution in pull request #214 resolves this specific issue. However, it's essential to acknowledge that this fix might introduce potential compatibility issues with existing codebases.
It seems that the changes made in https://github.com/smi2/phpClickHouse/pull/190 addressed a specific case, but other common scenarios may have been overlooked, so I've implemented an early exit from function when
ON CLUSTER
does not exist.