Describe the bug
Return column structure in case of empty resultset
Steps to reproduce
- Use the following query "SELECT 1 as 'column1' LIMIT 0"
Expected behaviour
Have a new setting, which will change behaviour in case of an empty result set being returned.
In case of pandas, driver.query_df(ch_query) should return pd.DataFrame({'column1' : [] })
This was resolved in the previous driver here ClickHouse/ClickHouse#33522
Describe the bug
Return column structure in case of empty resultset
Steps to reproduce
Expected behaviour
Have a new setting, which will change behaviour in case of an empty result set being returned.
In case of pandas,
driver.query_df(ch_query)should returnpd.DataFrame({'column1' : [] })This was resolved in the previous driver here ClickHouse/ClickHouse#33522