v.22.4Improvement
Fix AccessType Retrieval for s3cluster, HDFSCluster, and hive Functions
For table functions3clusterorHDFSClusterorhive, we can't get rightAccessTypebyStorageFactory::instance().getSourceAccessType(getStorageTypeName()). This pr fix it. #35365 (李扬).
Why it matters
This fix addresses the problem where theAccessType was not correctly obtained for these cluster-based table functions, ensuring that the storage access type reflects the actual storage correctly. This improves reliability and correctness when working with clustered storage functions in ClickHouse.How to use it
The fix is applied internally to the functionStorageFactory::instance().getSourceAccessType. Users do not need to change their queries; the correct AccessType will be automatically used when accessing s3cluster, HDFSCluster, or hive table functions after upgrading to the version that includes this fix.