v.22.7Improvement

Add revision function

Add revision function. #38555 (Azat Khuzhin).
Introduces the revision function to ClickHouse.

Why it matters

This function provides a way to access or work with data revisions, enabling users to track or manage changes in data more effectively.

How to use it

Users can call the revision function directly in their SQL queries to retrieve or handle revision-related information based on its implementation.