freemine

Results 9 comments of freemine

我猜测,是不是你没有对content的内容中的"进行转义?比如: ``` ...content="{\"headers\":{\"deviceName\"... ```

but seems like the following fails with errmsg "Invalid column name: col_d" in `taos_stmt_bind_param_batch` ``` select * from (select col_d from t) x where col_d in (?,?) ``` please confirm...

https://github.com/freemine/taos_odbc please be kindly noted, this is not official, and currently, only linux, and very much early stage.

in taos.h ```c const char *taos_data_type(int type); ``` but not ```c DLL_EXPORT const char *taos_data_type(int type); ``` not so sure, why it seems like intentional behavior?

这是在taos_odbc驱动中预设的`Not Supported Yet`提醒。我们在PowerBI及其他ODBC工具中没有录得过这个错误,或者,这些工具/软件在遇到SQLSetStmtAttr(...,SQL_ATTR_MAX_ROWS,...)失败的时候,有它们自己的应对方法可以自行处理。因此,DBeaver的JDBC-ODBC桥所提示的错误场景,我们需要确认。 由于我手边没有DBeaver工具,所以可能需要您的帮助如下: 1. 如果您是自行编译的taos_odbc驱动的话,那么您现在可以根据 https://github.com/taosdata/taos_odbc/pull/20 所提示修改信息,在您的环境下修改编译后测试。 2. 如果您是直接下载并安装taos_odbc驱动的话,那么您可能需要等待下一次taos_odbc驱动的发布https://github.com/taosdata/taos_odbc/tags 3. 如果我们找到其他的临时workaround,我们会在此issue下继续comment。 请保持关注,谢谢。 另对于Excel遇到的问题,请参照如下步骤进行: 1. 设置windows环境变量: TAOS_ODBC_LOG_LEVEL=VERBOSE TAOS_ODBC_LOGGER=temp 2. (可能需要重启你的windows) 3. 重新启动Excel进行你的测试过程 4. ```\Users\...\AppData\Local\Temp\taos_odbc.log```是日志文件,里面会有详细的调试跟踪信息。 5. 你也可以把上述文件贴上来,我们可以帮助一起排查问题 使用taos_odbc驱动的过程中,如果还有遇到问题,您也可以先查看一下 https://github.com/taosdata/taos_odbc/blob/main/README.cn.md

``` 196 //////// experimental ////////////////////////////////////////////////////////////////////////////////////////////////////// 197 // NOTE: 1. you can choose to either start/switch by taos_stmt_prepare2 or by taos_stmt_prepare as usual // 198 // NOTE: 2. these 2-tailed functions...

some passed test cases snipped from tests/c/api2_test.c ``` 1123 .line = __LINE__, 1124 .sql = "insert into ? (ts, b, i8, u8, i16, u16, i32, u32, i64, u64, flt, dbl,...