def METHOD_NAME(self, cluster: ClickhouseCluster, table_name: str) -> str:
    database_name = cluster.get_database()
    if self._unsharded is True:
        path = f"/clickhouse/tables/{self._storage_set_value}/all/{database_name}/{table_name}"
    else:
        path = f"/clickhouse/tables/{self._storage_set_value}/{{shard}}/{database_name}/{table_name}"
    path_with_override = settings.CLICKHOUSE_ZOOKEEPER_OVERRIDE.get(path, path)
    return f"'{path_with_override}'"