hive-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From omal...@apache.org
Subject svn commit: r1655460 - in /hive/trunk: ./ common/src/java/org/apache/hadoop/hive/common/type/ common/src/test/org/apache/hadoop/hive/common/type/
Date Wed, 28 Jan 2015 20:36:55 GMT
Author: omalley
Date: Wed Jan 28 20:36:54 2015
New Revision: 1655460

URL: http://svn.apache.org/r1655460
Log:
HIVE-9327. Move Microsoft copyright notice from the source code to the NOTICE
file. (omalley reviewed by Alan Gates)

Modified:
    hive/trunk/NOTICE
    hive/trunk/common/src/java/org/apache/hadoop/hive/common/type/Decimal128.java
    hive/trunk/common/src/java/org/apache/hadoop/hive/common/type/SignedInt128.java
    hive/trunk/common/src/java/org/apache/hadoop/hive/common/type/SqlMathUtil.java
    hive/trunk/common/src/java/org/apache/hadoop/hive/common/type/UnsignedInt128.java
    hive/trunk/common/src/test/org/apache/hadoop/hive/common/type/TestDecimal128.java
    hive/trunk/common/src/test/org/apache/hadoop/hive/common/type/TestSignedInt128.java
    hive/trunk/common/src/test/org/apache/hadoop/hive/common/type/TestSqlMathUtil.java
    hive/trunk/common/src/test/org/apache/hadoop/hive/common/type/TestUnsignedInt128.java

Modified: hive/trunk/NOTICE
URL: http://svn.apache.org/viewvc/hive/trunk/NOTICE?rev=1655460&r1=1655459&r2=1655460&view=diff
==============================================================================
--- hive/trunk/NOTICE (original)
+++ hive/trunk/NOTICE Wed Jan 28 20:36:54 2015
@@ -7,3 +7,5 @@ Foundation (http://www.apache.org/).
 This product includes Jersey (https://jersey.java.net/)
 Copyright (c) 2010-2014 Oracle and/or its affiliates.
 
+This project includes software copyrighted by Microsoft Corporation and
+licensed under the Apache License, Version 2.0.

Modified: hive/trunk/common/src/java/org/apache/hadoop/hive/common/type/Decimal128.java
URL: http://svn.apache.org/viewvc/hive/trunk/common/src/java/org/apache/hadoop/hive/common/type/Decimal128.java?rev=1655460&r1=1655459&r2=1655460&view=diff
==============================================================================
--- hive/trunk/common/src/java/org/apache/hadoop/hive/common/type/Decimal128.java (original)
+++ hive/trunk/common/src/java/org/apache/hadoop/hive/common/type/Decimal128.java Wed Jan
28 20:36:54 2015
@@ -1,11 +1,13 @@
 /**
- * Copyright (c) Microsoft Corporation
+ * 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
  *
- * Licensed 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
+ *     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,
@@ -13,6 +15,7 @@
  * See the License for the specific language governing permissions and
  * limitations under the License.
  */
+
 package org.apache.hadoop.hive.common.type;
 
 import java.math.BigDecimal;
@@ -23,7 +26,7 @@ import java.nio.IntBuffer;
 import org.apache.hive.common.util.Decimal128FastBuffer;
 
 /**
- * This code was originally written for Microsoft PolyBase.
+ * This code was based on code from Microsoft's PolyBase.
  * <p>
  * A 128-bit fixed-length Decimal value in the ANSI SQL Numeric semantics,
  * representing unscaledValue / 10**scale where scale is 0 or positive.

Modified: hive/trunk/common/src/java/org/apache/hadoop/hive/common/type/SignedInt128.java
URL: http://svn.apache.org/viewvc/hive/trunk/common/src/java/org/apache/hadoop/hive/common/type/SignedInt128.java?rev=1655460&r1=1655459&r2=1655460&view=diff
==============================================================================
--- hive/trunk/common/src/java/org/apache/hadoop/hive/common/type/SignedInt128.java (original)
+++ hive/trunk/common/src/java/org/apache/hadoop/hive/common/type/SignedInt128.java Wed Jan
28 20:36:54 2015
@@ -1,11 +1,13 @@
 /**
- * Copyright (c) Microsoft Corporation
+ * 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
  *
- * Licensed 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
+ *     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,
@@ -13,13 +15,14 @@
  * See the License for the specific language governing permissions and
  * limitations under the License.
  */
+
 package org.apache.hadoop.hive.common.type;
 
 import java.math.BigInteger;
 import java.nio.IntBuffer;
 
 /**
- * This code was originally written for Microsoft PolyBase.
+ * This code was based on code from Microsoft's PolyBase.
  *
  * Represents a signed 128-bit integer. This object is much faster and more
  * compact than BigInteger, but has many limitations explained in

Modified: hive/trunk/common/src/java/org/apache/hadoop/hive/common/type/SqlMathUtil.java
URL: http://svn.apache.org/viewvc/hive/trunk/common/src/java/org/apache/hadoop/hive/common/type/SqlMathUtil.java?rev=1655460&r1=1655459&r2=1655460&view=diff
==============================================================================
--- hive/trunk/common/src/java/org/apache/hadoop/hive/common/type/SqlMathUtil.java (original)
+++ hive/trunk/common/src/java/org/apache/hadoop/hive/common/type/SqlMathUtil.java Wed Jan
28 20:36:54 2015
@@ -1,11 +1,13 @@
 /**
- * Copyright (c) Microsoft Corporation
+ * 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
  *
- * Licensed 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
+ *     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,
@@ -13,12 +15,13 @@
  * See the License for the specific language governing permissions and
  * limitations under the License.
  */
+
 package org.apache.hadoop.hive.common.type;
 
 import java.util.Arrays;
 
 /**
- * This code was originally written for Microsoft PolyBase.
+ * This code was based on code from Microsoft's PolyBase.
  *
  * Misc utilities used in this package.
  */

Modified: hive/trunk/common/src/java/org/apache/hadoop/hive/common/type/UnsignedInt128.java
URL: http://svn.apache.org/viewvc/hive/trunk/common/src/java/org/apache/hadoop/hive/common/type/UnsignedInt128.java?rev=1655460&r1=1655459&r2=1655460&view=diff
==============================================================================
--- hive/trunk/common/src/java/org/apache/hadoop/hive/common/type/UnsignedInt128.java (original)
+++ hive/trunk/common/src/java/org/apache/hadoop/hive/common/type/UnsignedInt128.java Wed
Jan 28 20:36:54 2015
@@ -1,11 +1,13 @@
 /**
- * Copyright (c) Microsoft Corporation
+ * 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
  *
- * Licensed 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
+ *     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,
@@ -13,6 +15,7 @@
  * See the License for the specific language governing permissions and
  * limitations under the License.
  */
+
 package org.apache.hadoop.hive.common.type;
 
 import java.io.Serializable;
@@ -24,7 +27,7 @@ import java.util.Arrays;
 import org.apache.hive.common.util.Decimal128FastBuffer;
 
 /**
- * This code was originally written for Microsoft PolyBase.
+ * This code was based on code from Microsoft's PolyBase.
  *
  * Represents an unsigned 128-bit integer. This is the basis for
  * {@link Decimal128} and {@link SignedInt128}. This object is much faster and

Modified: hive/trunk/common/src/test/org/apache/hadoop/hive/common/type/TestDecimal128.java
URL: http://svn.apache.org/viewvc/hive/trunk/common/src/test/org/apache/hadoop/hive/common/type/TestDecimal128.java?rev=1655460&r1=1655459&r2=1655460&view=diff
==============================================================================
--- hive/trunk/common/src/test/org/apache/hadoop/hive/common/type/TestDecimal128.java (original)
+++ hive/trunk/common/src/test/org/apache/hadoop/hive/common/type/TestDecimal128.java Wed
Jan 28 20:36:54 2015
@@ -1,11 +1,13 @@
 /**
- * Copyright (c) Microsoft Corporation
+ * 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
  *
- * Licensed 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
+ *     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,
@@ -28,7 +30,7 @@ import org.junit.Test;
 
 
 /**
- * This code was originally written for Microsoft PolyBase.
+ * This code was based on code from Microsoft's PolyBase.
  */
 
 public class TestDecimal128 {

Modified: hive/trunk/common/src/test/org/apache/hadoop/hive/common/type/TestSignedInt128.java
URL: http://svn.apache.org/viewvc/hive/trunk/common/src/test/org/apache/hadoop/hive/common/type/TestSignedInt128.java?rev=1655460&r1=1655459&r2=1655460&view=diff
==============================================================================
--- hive/trunk/common/src/test/org/apache/hadoop/hive/common/type/TestSignedInt128.java (original)
+++ hive/trunk/common/src/test/org/apache/hadoop/hive/common/type/TestSignedInt128.java Wed
Jan 28 20:36:54 2015
@@ -1,11 +1,13 @@
 /**
- * Copyright (c) Microsoft Corporation
+ * 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
  *
- * Licensed 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
+ *     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,
@@ -29,7 +31,7 @@ import org.junit.Test;
 /**
  * Testcases for {@link SignedInt128}
  *
- * This code was originally written for Microsoft PolyBase.
+ * This code was based on code from Microsoft PolyBase.
  */
 public class TestSignedInt128 {
   private SignedInt128 zero;

Modified: hive/trunk/common/src/test/org/apache/hadoop/hive/common/type/TestSqlMathUtil.java
URL: http://svn.apache.org/viewvc/hive/trunk/common/src/test/org/apache/hadoop/hive/common/type/TestSqlMathUtil.java?rev=1655460&r1=1655459&r2=1655460&view=diff
==============================================================================
--- hive/trunk/common/src/test/org/apache/hadoop/hive/common/type/TestSqlMathUtil.java (original)
+++ hive/trunk/common/src/test/org/apache/hadoop/hive/common/type/TestSqlMathUtil.java Wed
Jan 28 20:36:54 2015
@@ -1,11 +1,13 @@
 /**
- * Copyright (c) Microsoft Corporation
+ * 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
  *
- * Licensed 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
+ *     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,
@@ -19,7 +21,7 @@ import static org.junit.Assert.*;
 import org.junit.Test;
 
 /**
- * This code was originally written for Microsoft PolyBase.
+ * This code was based on code from Microsoft's PolyBase.
  */
 public class TestSqlMathUtil {
   @Test

Modified: hive/trunk/common/src/test/org/apache/hadoop/hive/common/type/TestUnsignedInt128.java
URL: http://svn.apache.org/viewvc/hive/trunk/common/src/test/org/apache/hadoop/hive/common/type/TestUnsignedInt128.java?rev=1655460&r1=1655459&r2=1655460&view=diff
==============================================================================
--- hive/trunk/common/src/test/org/apache/hadoop/hive/common/type/TestUnsignedInt128.java
(original)
+++ hive/trunk/common/src/test/org/apache/hadoop/hive/common/type/TestUnsignedInt128.java
Wed Jan 28 20:36:54 2015
@@ -1,11 +1,13 @@
 /**
- * Copyright (c) Microsoft Corporation
+ * 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
  *
- * Licensed 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
+ *     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,
@@ -26,7 +28,7 @@ import org.junit.Test;
 /**
  * Testcases for {@link UnsignedInt128}
  *
- * This code was originally written for Microsoft PolyBase.
+ * This code was based on code from Microsoft's PolyBase.
  */
 public class TestUnsignedInt128 {
   private UnsignedInt128 zero;



Mime
View raw message