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/04/01 08:00:57 UTC

[1/2] kylin git commit: minor, add gpg key

Repository: kylin
Updated Branches:
  refs/heads/master 220d17b05 -> 195f75104


minor, add gpg key


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

Branch: refs/heads/master
Commit: a78cc9428a0f6a6a33ff95a5d8172e8812346b67
Parents: 220d17b
Author: lidongsjtu <li...@apache.org>
Authored: Fri Apr 1 11:36:43 2016 +0800
Committer: lidongsjtu <li...@apache.org>
Committed: Fri Apr 1 11:36:49 2016 +0800

----------------------------------------------------------------------
 KEYS | 52 ++++++++++++++++++++++++++++++++++++++++++++++++++++
 1 file changed, 52 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/kylin/blob/a78cc942/KEYS
----------------------------------------------------------------------
diff --git a/KEYS b/KEYS
index dced41a..bddc993 100644
--- a/KEYS
+++ b/KEYS
@@ -128,3 +128,55 @@ tcKztIGMvp9Lc37QOUebIPocI8SbF5qM3q6S6vLJySB7VfrHpwMBkNDFLW2X+kA6
 hGwMd4I7h3m6EI6ntRCdOrbA3RyED9mCWP60eplEJ6vnA/EQvEI8oQCd
 =/uVI
 -----END PGP PUBLIC KEY BLOCK-----
+-----BEGIN PGP PUBLIC KEY BLOCK-----
+Version: GnuPG v1
+
+mQINBFb96ZQBEADkzE6XYB8sbx8FGKj9GORTM1l05jU5Da2xisuf1e8nrkVkvYxG
+WmMieqaDHnyFv6cdj5k10uK+p76FCNIyLWaQ/o5Bj8tI2cXqkmpxWKoSy6h9Y4MY
+fX4am+tMQG0JC/cujMrJJCDIOkahHyV+7hxev1ot4jfrImTynD+1WAPb20AU5wNg
+QaOx5WFJ6kujtUs9NVSgEHOdj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VqpCsl0yKIwUw0d+e9ft++Sbp0wvkZlA4c4873N++QcE4HKpnBAlOfqnd9K5q
+ibo32JrDd2pzQkVJiAF1UHT73XTqxy4G8+TKGVyW0PN/p3W0RjL3OxpkpJo6NmGT
+yOhF8K4IRt2nsdVu4mSYrGmoOTK19tvaWsTFsIuXdYBzmbOx9qLiOIxh8H4EHg7I
+Jr/kmmB+zLyiBSa6w8r5ha2+g/RPBrCKQeZkR7xiGTqfN1edg1OMkrj9RmSQOehF
+KaZtiAeZqzzvPTc9RYT1Lm4DYl4baq+MHlZNL2gMKXtyql6JjrLJSknxS5L7sKJw
+sFtv2JnygoVp3yI+qJu8gN/VG7a/g5nffajPMn3Pc3N6jbpAdZhus/iOD2ynTz/Z
+VP1LiiK8l9DxhsCyjzO4kwxBJgdEvdSVpiPzCZn39HWwgOvUe/PUAXIFKJT/hsbh
+jZMdAOCcquWiKK6ry01pjHfEyHgwenO51w+eHZtfaIIH9QqtMQXQ5E9e1xB/jyBp
+Qhv0lE54arzddayOR1rsRXnEZCiQ+Kh8iuTGLoIzRmf5v4myGhhNF+A6+rnUu363
+v3uGD1dDvjIuMgPUfmcg6cV6To5JRRejohA8xZs4jv07h8v0Ca8W9O8Wdt2FqWuI
+QIln1OQesKG4RSkX/g==
+=bzTi
+-----END PGP PUBLIC KEY BLOCK-----


[2/2] kylin git commit: KYLIN-1555 Add missing license headers

Posted by li...@apache.org.
KYLIN-1555 Add missing license headers


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

Branch: refs/heads/master
Commit: 195f751041b7770f1c45497fe7728d968ebc3ad5
Parents: a78cc94
Author: lidongsjtu <li...@apache.org>
Authored: Fri Apr 1 13:36:27 2016 +0800
Committer: lidongsjtu <li...@apache.org>
Committed: Fri Apr 1 13:36:27 2016 +0800

----------------------------------------------------------------------
 build/smoke-test/sql/sql1.sql                   | 18 ++++++++++++
 .../kylin/measure/raw/RawAggregatorTest.java    | 31 +++++++++++++++-----
 .../kylin/measure/raw/RawSerializerTest.java    | 30 ++++++++++++++-----
 3 files changed, 65 insertions(+), 14 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/kylin/blob/195f7510/build/smoke-test/sql/sql1.sql
----------------------------------------------------------------------
diff --git a/build/smoke-test/sql/sql1.sql b/build/smoke-test/sql/sql1.sql
index ff13294..cb62b2b 100644
--- a/build/smoke-test/sql/sql1.sql
+++ b/build/smoke-test/sql/sql1.sql
@@ -1 +1,19 @@
+--
+-- Licensed to the Apache Software Foundation (ASF) under one
+-- or more contributor license agreements.  See the NOTICE file
+-- distributed with this work for additional information
+-- regarding copyright ownership.  The ASF licenses this file
+-- to you under the Apache License, Version 2.0 (the
+-- "License"); you may not use this file except in compliance
+-- with the License.  You may obtain a copy of the License at
+--
+--     http://www.apache.org/licenses/LICENSE-2.0
+--
+-- Unless required by applicable law or agreed to in writing, software
+-- distributed under the License is distributed on an "AS IS" BASIS,
+-- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+-- See the License for the specific language governing permissions and
+-- limitations under the License.
+--
+
 select count(*) from kylin_sales

http://git-wip-us.apache.org/repos/asf/kylin/blob/195f7510/core-metadata/src/test/java/org/apache/kylin/measure/raw/RawAggregatorTest.java
----------------------------------------------------------------------
diff --git a/core-metadata/src/test/java/org/apache/kylin/measure/raw/RawAggregatorTest.java b/core-metadata/src/test/java/org/apache/kylin/measure/raw/RawAggregatorTest.java
index f70490d..a94a55c 100644
--- a/core-metadata/src/test/java/org/apache/kylin/measure/raw/RawAggregatorTest.java
+++ b/core-metadata/src/test/java/org/apache/kylin/measure/raw/RawAggregatorTest.java
@@ -1,20 +1,37 @@
-package org.apache.kylin.measure.raw;
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements.  See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership.  The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License.  You may obtain a copy of the License at
+ *
+ *     http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
 
+package org.apache.kylin.measure.raw;
 
-import org.apache.kylin.common.util.ByteArray;
-import org.apache.kylin.common.util.BytesUtil;
-import org.junit.Test;
+import static org.junit.Assert.*;
 
 import java.util.ArrayList;
 import java.util.List;
 
-import static org.junit.Assert.assertEquals;
+import org.apache.kylin.common.util.ByteArray;
+import org.apache.kylin.common.util.BytesUtil;
+import org.junit.Test;
 
 public class RawAggregatorTest {
     private RawAggregator agg = new RawAggregator();
 
     @Test
-    public void testNormal(){
+    public void testNormal() {
         int size = 100;
         List<ByteArray> valueList = new ArrayList<ByteArray>(size);
         for (Integer i = 0; i < size; i++) {
@@ -28,7 +45,7 @@ public class RawAggregatorTest {
     }
 
     @Test
-    public void testNull(){
+    public void testNull() {
         agg.aggregate(null);
         assertEquals(agg.getState(), null);
     }

http://git-wip-us.apache.org/repos/asf/kylin/blob/195f7510/core-metadata/src/test/java/org/apache/kylin/measure/raw/RawSerializerTest.java
----------------------------------------------------------------------
diff --git a/core-metadata/src/test/java/org/apache/kylin/measure/raw/RawSerializerTest.java b/core-metadata/src/test/java/org/apache/kylin/measure/raw/RawSerializerTest.java
index 390f48e..04d85c2 100644
--- a/core-metadata/src/test/java/org/apache/kylin/measure/raw/RawSerializerTest.java
+++ b/core-metadata/src/test/java/org/apache/kylin/measure/raw/RawSerializerTest.java
@@ -1,17 +1,33 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements.  See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership.  The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License.  You may obtain a copy of the License at
+ *
+ *     http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
 package org.apache.kylin.measure.raw;
 
-import org.apache.kylin.common.util.ByteArray;
-import org.apache.kylin.common.util.BytesUtil;
-import org.apache.kylin.metadata.datatype.DataType;
-import org.junit.Test;
+import static org.junit.Assert.*;
 
 import java.nio.ByteBuffer;
 import java.util.ArrayList;
 import java.util.List;
-import java.util.regex.Matcher;
-import java.util.regex.Pattern;
 
-import static org.junit.Assert.assertEquals;
+import org.apache.kylin.common.util.ByteArray;
+import org.apache.kylin.common.util.BytesUtil;
+import org.apache.kylin.metadata.datatype.DataType;
+import org.junit.Test;
 
 public class RawSerializerTest {
     static {