You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@kylin.apache.org by li...@apache.org on 2016/12/21 06:09:24 UTC

[2/2] kylin git commit: metadata fix

metadata fix


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

Branch: refs/heads/KYLIN-2294
Commit: 3e7e57be4094e6345e257d3de9693c38f1c90adf
Parents: 415a9ea
Author: Li Yang <li...@apache.org>
Authored: Wed Dec 21 14:09:17 2016 +0800
Committer: Li Yang <li...@apache.org>
Committed: Wed Dec 21 14:09:17 2016 +0800

----------------------------------------------------------------------
 .../localmeta/project/default.json              | 84 ++++++++++----------
 .../apache/kylin/query/ITKylinQueryTest.java    |  6 +-
 2 files changed, 45 insertions(+), 45 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/kylin/blob/3e7e57be/examples/test_case_data/localmeta/project/default.json
----------------------------------------------------------------------
diff --git a/examples/test_case_data/localmeta/project/default.json b/examples/test_case_data/localmeta/project/default.json
index 527a7c4..1ecc7cc 100644
--- a/examples/test_case_data/localmeta/project/default.json
+++ b/examples/test_case_data/localmeta/project/default.json
@@ -1,49 +1,49 @@
-{
-  "uuid": "1eaca32a-a33e-4b69-83dd-0bb8b1f8c91b",
-  "name": "default",
-  "realizations": [
-    {
-      "name": "ci_left_join_cube",
-      "type": "CUBE",
-      "realization": "ci_left_join_cube"
-    },
-    {
-      "name": "ci_inner_join_cube",
-      "type": "CUBE",
-      "realization": "ci_left_join_cube"
-    },
-    {
-      "name": "test_streaming_table_cube",
-      "type": "CUBE",
-      "realization": "test_streaming_table_cube"
-    },
-    {
-      "name": "ci_inner_join_hybrid",
-      "type": "HYBRID",
-      "realization": "ci_inner_join_hybrid"
-    },
+{
+  "uuid": "1eaca32a-a33e-4b69-83dd-0bb8b1f8c91b",
+  "name": "default",
+  "realizations": [
+    {
+      "name": "ci_left_join_cube",
+      "type": "CUBE",
+      "realization": "ci_left_join_cube"
+    },
+    {
+      "name": "ci_inner_join_cube",
+      "type": "CUBE",
+      "realization": "ci_inner_join_cube"
+    },
+    {
+      "name": "test_streaming_table_cube",
+      "type": "CUBE",
+      "realization": "test_streaming_table_cube"
+    },
+    {
+      "name": "ci_inner_join_hybrid",
+      "type": "HYBRID",
+      "realization": "ci_inner_join_hybrid"
+    },
     {
       "name": "ssb",
       "type": "CUBE",
       "realization": "ssb"
-    }
-  ],
-  "tables": [
-    "DEFAULT.TEST_KYLIN_FACT",
-    "DEFAULT.TEST_ORDER",
-    "EDW.TEST_CAL_DT",
-    "DEFAULT.TEST_CATEGORY_GROUPINGS",
-    "EDW.TEST_SITES",
-    "EDW.TEST_SELLER_TYPE_DIM",
-    "DEFAULT.STREAMING_TABLE"
-  ],
-  "models": [
-    "ssb",
-    "ci_inner_join_model",
-    "ci_left_join_model",
-    "test_kylin_inner_join_model_desc",
-    "test_kylin_left_join_model_desc",
-    "test_streaming_table_model_desc"
+    }
+  ],
+  "tables": [
+    "DEFAULT.TEST_KYLIN_FACT",
+    "DEFAULT.TEST_ORDER",
+    "EDW.TEST_CAL_DT",
+    "DEFAULT.TEST_CATEGORY_GROUPINGS",
+    "EDW.TEST_SITES",
+    "EDW.TEST_SELLER_TYPE_DIM",
+    "DEFAULT.STREAMING_TABLE"
+  ],
+  "models": [
+    "ssb",
+    "ci_inner_join_model",
+    "ci_left_join_model",
+    "test_kylin_inner_join_model_desc",
+    "test_kylin_left_join_model_desc",
+    "test_streaming_table_model_desc"
   ],
   "override_kylin_properties" :{
     "kylin.storage.hbase.owner-tag": "kylin@kylin.apache.org"

http://git-wip-us.apache.org/repos/asf/kylin/blob/3e7e57be/kylin-it/src/test/java/org/apache/kylin/query/ITKylinQueryTest.java
----------------------------------------------------------------------
diff --git a/kylin-it/src/test/java/org/apache/kylin/query/ITKylinQueryTest.java b/kylin-it/src/test/java/org/apache/kylin/query/ITKylinQueryTest.java
index 572c69a..9e94b75 100644
--- a/kylin-it/src/test/java/org/apache/kylin/query/ITKylinQueryTest.java
+++ b/kylin-it/src/test/java/org/apache/kylin/query/ITKylinQueryTest.java
@@ -62,7 +62,7 @@ public class ITKylinQueryTest extends KylinTestBase {
         priorities.put(RealizationType.INVERTED_INDEX, 0);
         Candidate.setPriorities(priorities);
 
-        joinType = "inner";
+        joinType = "left";
 
         setupAll();
     }
@@ -149,11 +149,11 @@ public class ITKylinQueryTest extends KylinTestBase {
     @Test
     public void testSingleRunQuery() throws Exception {
 
-        String queryFileName = getQueryFolderPrefix() + "src/test/resources/query/sql_subquery/query02.sql";
+        String queryFileName = getQueryFolderPrefix() + "src/test/resources/query/sql_distinct_precisely/query01.sql";
 
         File sqlFile = new File(queryFileName);
         if (sqlFile.exists()) {
-            runSQL(sqlFile, true, true);
+            //runSQL(sqlFile, true, true);
             runSQL(sqlFile, true, false);
         }
     }