v.23.3New Feature
Use dummy UInt8 for default structure of table function null
Usedummy UInt8for the default structure of table functionnull. Closes #46930. #47006 (flynn).
Why it matters
Before this change, thenull table function had an inconsistent or unspecified default structure, which could cause issues in queries expecting a predictable schema. Using dummy UInt8 as the default column ensures a consistent and clear schema, making it easier for users to work with null tables in their queries.How to use it
When using thenull table function without specifying columns, it will automatically return a table with a single dummy column of type UInt8. No additional configuration is needed; this change is applied internally.