{"action":"created","issue":{"url":"https://api.github.com/repos/NLPchina/elasticsearch-sql/issues/671","repository_url":"https://api.github.com/repos/NLPchina/elasticsearch-sql","labels_url":"https://api.github.com/repos/NLPchina/elasticsearch-sql/issues/671/labels{/name}","comments_url":"https://api.github.com/repos/NLPchina/elasticsearch-sql/issues/671/comments","events_url":"https://api.github.com/repos/NLPchina/elasticsearch-sql/issues/671/events","html_url":"https://github.com/NLPchina/elasticsearch-sql/issues/671","id":328429763,"node_id":"MDU6SXNzdWUzMjg0Mjk3NjM=","number":671,"title":"java.sql.SQLException: Error PreparedStatement setObject","user":{"login":"phypor","id":12208097,"node_id":"MDQ6VXNlcjEyMjA4MDk3","avatar_url":"https://avatars2.githubusercontent.com/u/12208097?v=4","gravatar_id":"","url":"https://api.github.com/users/phypor","html_url":"https://github.com/phypor","followers_url":"https://api.github.com/users/phypor/followers","following_url":"https://api.github.com/users/phypor/following{/other_user}","gists_url":"https://api.github.com/users/phypor/gists{/gist_id}","starred_url":"https://api.github.com/users/phypor/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/phypor/subscriptions","organizations_url":"https://api.github.com/users/phypor/orgs","repos_url":"https://api.github.com/users/phypor/repos","events_url":"https://api.github.com/users/phypor/events{/privacy}","received_events_url":"https://api.github.com/users/phypor/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-06-01T08:39:11Z","updated_at":"2018-06-05T12:46:43Z","closed_at":null,"author_association":"NONE","body":"```\r\n  sql=\"select ? from a/b group by ? limit 10000\";       \r\n     DruidDataSource dds = (DruidDataSource)ElasticSearchDruidDataSourceFactory.createDataSource(properties);\r\n            Connection connection = dds.getConnection();\r\n            PreparedStatement ps = connection.prepareStatement(sql);\r\n            for(int i=0;i!=params.length;++i){\r\n                System.out.println(i+1+\" \"+params[i]);\r\n                ps.setObject(i+1,params[i]);\r\n            } \r\n              resultSet = ps.executeQuery();\r\n```\r\n\r\n\r\njava.sql.SQLException: Error\r\n\tat com.alibaba.druid.pool.DruidPooledConnection.handleException(DruidPooledConnection.java:134)\r\n\tat com.alibaba.druid.pool.DruidPooledStatement.checkException(DruidPooledStatement.java:68)\r\n\tat com.alibaba.druid.pool.DruidPooledResultSet.checkException(DruidPooledResultSet.java:55)\r\n\tat com.alibaba.druid.pool.DruidPooledResultSet.getString(DruidPooledResultSet.java:113)"},"comment":{"url":"https://api.github.com/repos/NLPchina/elasticsearch-sql/issues/comments/394695706","html_url":"https://github.com/NLPchina/elasticsearch-sql/issues/671#issuecomment-394695706","issue_url":"https://api.github.com/repos/NLPchina/elasticsearch-sql/issues/671","id":394695706,"node_id":"MDEyOklzc3VlQ29tbWVudDM5NDY5NTcwNg==","user":{"login":"shi-yuan","id":8057153,"node_id":"MDQ6VXNlcjgwNTcxNTM=","avatar_url":"https://avatars3.githubusercontent.com/u/8057153?v=4","gravatar_id":"","url":"https://api.github.com/users/shi-yuan","html_url":"https://github.com/shi-yuan","followers_url":"https://api.github.com/users/shi-yuan/followers","following_url":"https://api.github.com/users/shi-yuan/following{/other_user}","gists_url":"https://api.github.com/users/shi-yuan/gists{/gist_id}","starred_url":"https://api.github.com/users/shi-yuan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/shi-yuan/subscriptions","organizations_url":"https://api.github.com/users/shi-yuan/orgs","repos_url":"https://api.github.com/users/shi-yuan/repos","events_url":"https://api.github.com/users/shi-yuan/events{/privacy}","received_events_url":"https://api.github.com/users/shi-yuan/received_events","type":"User","site_admin":false},"created_at":"2018-06-05T12:46:43Z","updated_at":"2018-06-05T12:46:43Z","author_association":"MEMBER","body":"Sorry, not supported!"}}
{"actor":{"display_login":"shi-yuan"}}