v.1.1.54337New Feature
Support for Table Functions in DESCRIBE and INSERT Queries
Support for table functions forDESCRIBEandINSERTqueries. Added support for subqueries inDESCRIBE. Examples:DESC TABLE remote('host', default.hits);DESC TABLE (SELECT 1);INSERT INTO TABLE FUNCTION remote('host', default.hits). Support forINSERT INTO TABLEin addition toINSERT INTO.
Why it matters
This feature was created to enable more flexible introspection and data manipulation by allowing users to describe the structure of table functions and subqueries, and to insert data directly into the results of table functions. It solves limitations where DESCRIBE and INSERT commands previously only worked with regular tables, enhancing user ability to work with remote and dynamically generated datasets.How to use it
Use table functions insideDESCRIBE statements, for example:DESCRIBE TABLE remote('host', default.hits)
DESCRIBE TABLE (SELECT 1)You can also insert data into table functions by using:
INSERT INTO TABLE FUNCTION remote('host', default.hits) VALUES (...)Support has been added for
INSERT INTO TABLE syntax in addition to INSERT INTO.