kylin-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From lid...@apache.org
Subject [3/6] kylin git commit: KYLIN-2540 remove unused test
Date Mon, 10 Apr 2017 14:30:50 GMT
KYLIN-2540 remove unused test


Project: http://git-wip-us.apache.org/repos/asf/kylin/repo
Commit: http://git-wip-us.apache.org/repos/asf/kylin/commit/35b7a291
Tree: http://git-wip-us.apache.org/repos/asf/kylin/tree/35b7a291
Diff: http://git-wip-us.apache.org/repos/asf/kylin/diff/35b7a291

Branch: refs/heads/yang22-hbase102
Commit: 35b7a29148222c425644c897d6129e123bbb01d7
Parents: 1c3296f
Author: lidongsjtu <lidong@apache.org>
Authored: Mon Apr 10 22:22:19 2017 +0800
Committer: lidongsjtu <lidong@apache.org>
Committed: Mon Apr 10 22:22:19 2017 +0800

----------------------------------------------------------------------
 .../test/java/org/apache/kylin/rest/util/QueryUtilTest.java    | 6 ------
 1 file changed, 6 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/kylin/blob/35b7a291/server-base/src/test/java/org/apache/kylin/rest/util/QueryUtilTest.java
----------------------------------------------------------------------
diff --git a/server-base/src/test/java/org/apache/kylin/rest/util/QueryUtilTest.java b/server-base/src/test/java/org/apache/kylin/rest/util/QueryUtilTest.java
index c00cd3f..dcd8c98 100644
--- a/server-base/src/test/java/org/apache/kylin/rest/util/QueryUtilTest.java
+++ b/server-base/src/test/java/org/apache/kylin/rest/util/QueryUtilTest.java
@@ -51,12 +51,6 @@ public class QueryUtilTest extends LocalFileMetadataTestCase {
             String s = QueryUtil.massageSql(sqlRequest);
             Assert.assertEquals("select ( date '2001-09-28' + interval '2' month) from test_kylin_fact
group by ( date '2001-09-28' + interval '2' month)", s);
         }
-        {
-            SQLRequest sqlRequest = new SQLRequest();
-            sqlRequest.setSql("select concat(\"TEST_KYLIN_FACT\".\"LSTG_FORMAT_NAME\",\"TEST_KYLIN_FACT\".\"LSTG_FORMAT_NAME\")
concat(\"TEST_KYLIN_FACT\".\"LSTG_FORMAT_NAME\",\"TEST_KYLIN_FACT\".\"LSTG_FORMAT_NAME\")
()");
-            String s = QueryUtil.massageSql(sqlRequest);
-            Assert.assertEquals("select {fn concat(\"TEST_KYLIN_FACT\".\"LSTG_FORMAT_NAME\",\"TEST_KYLIN_FACT\".\"LSTG_FORMAT_NAME\")
} {fn concat(\"TEST_KYLIN_FACT\".\"LSTG_FORMAT_NAME\",\"TEST_KYLIN_FACT\".\"LSTG_FORMAT_NAME\")
} ()", s);
-        }
     }
 
     @Test


Mime
View raw message