Denis Glazachev
Denis Glazachev
Looks like the `SQLBrowseConnect` doesn't succeed. Maybe the implementation of that call needs to be revisited...
Well, there is arch mismatch obviously. Try installing 32-bit driver instead.
Can you please enable ODBC Driver Manager Tracing, retry, and post the resulting log here? See [this entry in the README.md](https://github.com/ClickHouse/clickhouse-odbc#enabling-driver-manager-tracing-mdacwdac-microsoftwindows-data-access-components)
@huangxp12 can you also enable driver's own logging and send the generated log? Please, see `DriverLog` and `DriverLogFile` DSN parameters [here](https://github.com/ClickHouse/clickhouse-odbc#configuration).
That's just an explanation of what the default value would be. You can use the same driver you are using. Just put ``` DriverLog = on DriverLogFile = C:/path/to/odbc_driver.log ```...
It looks like around this place, server stopped sending data: ``` 1592745613884620 [23112:45596] Z:\denis\dev\altinity\clickhouse-odbc-canonical\driver\statement.cpp:147 in requestNextPackOfResultSets: POST rdmint-ck.baicizhan.com?default_format=ODBCDriver2&database=mint_ck body=select event_date, count(order_id) as sell_amt from mint_ck.fact_order_tracks_v where status = 2 and...
You can reproduce it with client, and monitor server's log simultaneously.
I suggest updating this too then: https://github.com/ClickHouse/clickhouse-odbc/blob/d6a2ec3c9f637efdab5bc54838a05d7c5d511b70/README.md?plain=1#L48
Нужны логи: ODBC Driver Manager Trace, Tableau.
Could it be that your code frees the statement handler twice? Check how many times `MDb::Odbc35::Odbc::SQLFreeStmt()` is called in your reproducible case.