You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@hive.apache.org by om...@apache.org on 2015/01/28 21:40:26 UTC
svn commit: r1655462 - in /hive/branches/branch-1.0: ./
common/src/java/org/apache/hadoop/hive/common/type/
common/src/test/org/apache/hadoop/hive/common/type/
Author: omalley
Date: Wed Jan 28 20:40:25 2015
New Revision: 1655462
URL: http://svn.apache.org/r1655462
Log:
HIVE-9317. Move Microsoft copyright notice from the source code to the NOTICE
file. (omalley reviewed by Alan Gates)
Modified:
hive/branches/branch-1.0/ (props changed)
hive/branches/branch-1.0/NOTICE
hive/branches/branch-1.0/common/src/java/org/apache/hadoop/hive/common/type/Decimal128.java
hive/branches/branch-1.0/common/src/java/org/apache/hadoop/hive/common/type/SignedInt128.java
hive/branches/branch-1.0/common/src/java/org/apache/hadoop/hive/common/type/SqlMathUtil.java
hive/branches/branch-1.0/common/src/java/org/apache/hadoop/hive/common/type/UnsignedInt128.java
hive/branches/branch-1.0/common/src/test/org/apache/hadoop/hive/common/type/TestDecimal128.java
hive/branches/branch-1.0/common/src/test/org/apache/hadoop/hive/common/type/TestSignedInt128.java
hive/branches/branch-1.0/common/src/test/org/apache/hadoop/hive/common/type/TestSqlMathUtil.java
hive/branches/branch-1.0/common/src/test/org/apache/hadoop/hive/common/type/TestUnsignedInt128.java
Propchange: hive/branches/branch-1.0/
------------------------------------------------------------------------------
--- svn:mergeinfo (original)
+++ svn:mergeinfo Wed Jan 28 20:40:25 2015
@@ -2,4 +2,4 @@
/hive/branches/cbo:1605012-1627125
/hive/branches/tez:1494760-1622766
/hive/branches/vectorization:1466908-1527856
-/hive/trunk:1627830,1629752,1630512,1635373,1637170,1639249
+/hive/trunk:1627830,1629752,1630512,1635373,1637170,1639249,1655460
Modified: hive/branches/branch-1.0/NOTICE
URL: http://svn.apache.org/viewvc/hive/branches/branch-1.0/NOTICE?rev=1655462&r1=1655461&r2=1655462&view=diff
==============================================================================
--- hive/branches/branch-1.0/NOTICE (original)
+++ hive/branches/branch-1.0/NOTICE Wed Jan 28 20:40:25 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/branches/branch-1.0/common/src/java/org/apache/hadoop/hive/common/type/Decimal128.java
URL: http://svn.apache.org/viewvc/hive/branches/branch-1.0/common/src/java/org/apache/hadoop/hive/common/type/Decimal128.java?rev=1655462&r1=1655461&r2=1655462&view=diff
==============================================================================
--- hive/branches/branch-1.0/common/src/java/org/apache/hadoop/hive/common/type/Decimal128.java (original)
+++ hive/branches/branch-1.0/common/src/java/org/apache/hadoop/hive/common/type/Decimal128.java Wed Jan 28 20:40:25 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/branches/branch-1.0/common/src/java/org/apache/hadoop/hive/common/type/SignedInt128.java
URL: http://svn.apache.org/viewvc/hive/branches/branch-1.0/common/src/java/org/apache/hadoop/hive/common/type/SignedInt128.java?rev=1655462&r1=1655461&r2=1655462&view=diff
==============================================================================
--- hive/branches/branch-1.0/common/src/java/org/apache/hadoop/hive/common/type/SignedInt128.java (original)
+++ hive/branches/branch-1.0/common/src/java/org/apache/hadoop/hive/common/type/SignedInt128.java Wed Jan 28 20:40:25 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/branches/branch-1.0/common/src/java/org/apache/hadoop/hive/common/type/SqlMathUtil.java
URL: http://svn.apache.org/viewvc/hive/branches/branch-1.0/common/src/java/org/apache/hadoop/hive/common/type/SqlMathUtil.java?rev=1655462&r1=1655461&r2=1655462&view=diff
==============================================================================
--- hive/branches/branch-1.0/common/src/java/org/apache/hadoop/hive/common/type/SqlMathUtil.java (original)
+++ hive/branches/branch-1.0/common/src/java/org/apache/hadoop/hive/common/type/SqlMathUtil.java Wed Jan 28 20:40:25 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/branches/branch-1.0/common/src/java/org/apache/hadoop/hive/common/type/UnsignedInt128.java
URL: http://svn.apache.org/viewvc/hive/branches/branch-1.0/common/src/java/org/apache/hadoop/hive/common/type/UnsignedInt128.java?rev=1655462&r1=1655461&r2=1655462&view=diff
==============================================================================
--- hive/branches/branch-1.0/common/src/java/org/apache/hadoop/hive/common/type/UnsignedInt128.java (original)
+++ hive/branches/branch-1.0/common/src/java/org/apache/hadoop/hive/common/type/UnsignedInt128.java Wed Jan 28 20:40:25 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/branches/branch-1.0/common/src/test/org/apache/hadoop/hive/common/type/TestDecimal128.java
URL: http://svn.apache.org/viewvc/hive/branches/branch-1.0/common/src/test/org/apache/hadoop/hive/common/type/TestDecimal128.java?rev=1655462&r1=1655461&r2=1655462&view=diff
==============================================================================
--- hive/branches/branch-1.0/common/src/test/org/apache/hadoop/hive/common/type/TestDecimal128.java (original)
+++ hive/branches/branch-1.0/common/src/test/org/apache/hadoop/hive/common/type/TestDecimal128.java Wed Jan 28 20:40:25 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/branches/branch-1.0/common/src/test/org/apache/hadoop/hive/common/type/TestSignedInt128.java
URL: http://svn.apache.org/viewvc/hive/branches/branch-1.0/common/src/test/org/apache/hadoop/hive/common/type/TestSignedInt128.java?rev=1655462&r1=1655461&r2=1655462&view=diff
==============================================================================
--- hive/branches/branch-1.0/common/src/test/org/apache/hadoop/hive/common/type/TestSignedInt128.java (original)
+++ hive/branches/branch-1.0/common/src/test/org/apache/hadoop/hive/common/type/TestSignedInt128.java Wed Jan 28 20:40:25 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/branches/branch-1.0/common/src/test/org/apache/hadoop/hive/common/type/TestSqlMathUtil.java
URL: http://svn.apache.org/viewvc/hive/branches/branch-1.0/common/src/test/org/apache/hadoop/hive/common/type/TestSqlMathUtil.java?rev=1655462&r1=1655461&r2=1655462&view=diff
==============================================================================
--- hive/branches/branch-1.0/common/src/test/org/apache/hadoop/hive/common/type/TestSqlMathUtil.java (original)
+++ hive/branches/branch-1.0/common/src/test/org/apache/hadoop/hive/common/type/TestSqlMathUtil.java Wed Jan 28 20:40:25 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/branches/branch-1.0/common/src/test/org/apache/hadoop/hive/common/type/TestUnsignedInt128.java
URL: http://svn.apache.org/viewvc/hive/branches/branch-1.0/common/src/test/org/apache/hadoop/hive/common/type/TestUnsignedInt128.java?rev=1655462&r1=1655461&r2=1655462&view=diff
==============================================================================
--- hive/branches/branch-1.0/common/src/test/org/apache/hadoop/hive/common/type/TestUnsignedInt128.java (original)
+++ hive/branches/branch-1.0/common/src/test/org/apache/hadoop/hive/common/type/TestUnsignedInt128.java Wed Jan 28 20:40:25 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;