v.19.14New Feature
Table Function Values (the Name Is Case-insensitive)
Table functionvalues(the name is case-insensitive). It allows to read fromVALUESlist proposed in #5984. Example:SELECT * FROM VALUES('a UInt64, s String', (1, 'one'), (2, 'two'), (3, 'three')). #6217. #6209 (dimarub2000)
Why it matters
This feature enables users to easily create in-memory datasets and perform queries on them without needing to create temporary tables or external files, improving convenience and flexibility for ad-hoc data processing and testing.How to use it
Use thevalues table function by specifying the column definitions as a string and providing tuples of data rows, for example:SELECT * FROM values('a UInt64, s String', (1, 'one'), (2, 'two'), (3, 'three'))The function name
values is case-insensitive.