This is an automated email from the ASF dual-hosted git repository.

qiaojialin pushed a commit to branch fix_grafana
in repository https://gitbox.apache.org/repos/asf/incubator-iotdb.git


The following commit(s) were added to refs/heads/fix_grafana by this push:
     new 90848fd  fix grafana get metadata
90848fd is described below

commit 90848fde672eb6e04631ca959e9227f960df1a32
Author: qiaojialin <[email protected]>
AuthorDate: Mon Mar 2 21:14:15 2020 +0800

    fix grafana get metadata
---
 .../main/java/org/apache/iotdb/web/grafana/dao/impl/BasicDaoImpl.java   | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git 
a/grafana/src/main/java/org/apache/iotdb/web/grafana/dao/impl/BasicDaoImpl.java 
b/grafana/src/main/java/org/apache/iotdb/web/grafana/dao/impl/BasicDaoImpl.java
index 881c026..b447de2 100644
--- 
a/grafana/src/main/java/org/apache/iotdb/web/grafana/dao/impl/BasicDaoImpl.java
+++ 
b/grafana/src/main/java/org/apache/iotdb/web/grafana/dao/impl/BasicDaoImpl.java
@@ -86,7 +86,7 @@ public class BasicDaoImpl implements BasicDao {
     ConnectionCallback<Object> connectionCallback = new 
ConnectionCallback<Object>() {
       public Object doInConnection(Connection connection) throws SQLException {
         Statement statement = connection.createStatement();
-        statement.execute("show timeseries" + "root *");
+        statement.execute("show timeseries");
         ResultSet resultSet = statement.getResultSet();
         logger.info("Start to get timeseries");
         List<String> columnsName = new ArrayList<>();

Reply via email to