[
https://issues.apache.org/jira/browse/IOTDB-4792?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17626362#comment-17626362
]
任宇华 commented on IOTDB-4792:
----------------------------
这个测试过了,加了转移符号也不行
> export-csv.bat uses like syntax exception
> -----------------------------------------
>
> Key: IOTDB-4792
> URL: https://issues.apache.org/jira/browse/IOTDB-4792
> Project: Apache IoTDB
> Issue Type: Bug
> Components: csv
> Affects Versions: master branch
> Reporter: 任宇华
> Priority: Minor
>
> ./tools/export-csv.bat -h 127.0.0.1 -p 6667 -u root -pw root -td ./ -q
> "SELECT * FROM root.ws.ln where t_txt like '%cd%';"
>
> 在使用like语法时,会将 %cd% 转换为当前系统路径传递给iotdb,sql就会被转换为
>
> SELECT * FROM root.ws.ln where t_txt like
> 'H:\environment\\iotdb\\apache-iotdb-0.14.0-SNAPSHOT-all-bin';
>
> 导致失败,同时在bat的语法中,还有很多环境变量也是这样
--
This message was sent by Atlassian Jira
(v8.20.10#820010)