MCPcopy Create free account
hub / github.com/ClickHouse/ClickHouse / setStructureHint

Method setStructureHint

src/TableFunctions/ITableFunction.h:74–74  ·  view source on GitHub ↗

Set a structure hint from SELECT query in case of INSERT INTO FUNCTION ... SELECT ... and INSERT INTO ... SELECT ... FROM table_function(...) This hint could be used not to repeat schema in function arguments.

Source from the content-addressed store, hash-verified

72 /// INSERT INTO FUNCTION ... SELECT ... and INSERT INTO ... SELECT ... FROM table_function(...)
73 /// This hint could be used not to repeat schema in function arguments.
74 virtual void setStructureHint(const ColumnsDescription &) {}
75
76 /// Used for table functions that can use structure hint during INSERT INTO ... SELECT ... FROM table_function(...)
77 /// It returns possible virtual column names of corresponding storage. If select query contains

Callers 3

resolveTableFunctionMethod · 0.45
getTableMethod · 0.45
executeTableFunctionMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected