v.23.1Improvement
Improve automatic structure usage in table functions with virtual columns to fix block structure mismatch errors
Improve automatic usage of structure from insertion table in table functions file/hdfs/s3 when virtual columns are present in a select query, it fixes the possible errorBlock structure mismatchornumber of columns mismatch. #43695 (Kruglov Pavel).
Why it matters
This feature addresses and fixes errors such asBlock structure mismatch or number of columns mismatch that occurred when virtual columns were present in queries using table functions. It ensures more reliable and error-free data insertion by correctly handling virtual columns during automatic structure determination.How to use it
Users do not need to make manual changes to enable this feature. The improved automatic structure handling works transparently when using the table functionsfile, hdfs, or s3 with INSERT statements or SELECT queries involving virtual columns.