v.23.8New Feature

Add Support for String Literals as Table Names

Add support for string literals as table names. Closes #52178. #52635 (hendrik-m).
Added support for using string literals as table names in SQL queries.

Why it matters

This feature addresses the limitation of previous ClickHouse versions where table names could not be specified as string literals. It enhances query flexibility by allowing dynamic or programmatically generated table names to be used directly in SQL statements.

How to use it

To use this feature, simply specify the table name as a string literal in your SQL query. For example:

SELECT * FROM 'table_name'

This enables referencing tables by string literals without needing additional workarounds.