我正在使用一个可以通过JSON发送sql查询的SDK,但是我得到了一个错误:
File "/usr/lib/python2.7/site-packages/requests/models.py", line 893, in raise_for_status
raise HTTPError(http_error_msg, response=self)
requests.exceptions.HTTPError: 400 Client Error: mismatched input 'ON' expecting 'EOF' for url: https://solarwinds-orion:17778/SolarWinds/InformationService/v3/Json/Query
这是我使用的代码:
^{pr2}$这是到模式的链接
自定义属性-http://solarwinds.github.io/OrionSDK/schema/Orion.NodesCustomProperties.html 节点-http://solarwinds.github.io/OrionSDK/schema/Orion.Nodes.html
从我在内部连接上搜索的结果来看,查询应该没问题吧?在
将表别名从
ON
更改为其他名称,您应该可以:这是一个错误,因为},它对sql编译器有重要意义。在
on
是一个保留关键字,如select
或{相关问题 更多 >
编程相关推荐