Return-Path: X-Original-To: apmail-hive-commits-archive@www.apache.org Delivered-To: apmail-hive-commits-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 2B340178BC for ; Wed, 28 Jan 2015 20:36:55 +0000 (UTC) Received: (qmail 70251 invoked by uid 500); 28 Jan 2015 20:36:55 -0000 Delivered-To: apmail-hive-commits-archive@hive.apache.org Received: (qmail 70208 invoked by uid 500); 28 Jan 2015 20:36:55 -0000 Mailing-List: contact commits-help@hive.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: hive-dev@hive.apache.org Delivered-To: mailing list commits@hive.apache.org Received: (qmail 70196 invoked by uid 99); 28 Jan 2015 20:36:55 -0000 Received: from eris.apache.org (HELO hades.apache.org) (140.211.11.105) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 28 Jan 2015 20:36:55 +0000 Received: from hades.apache.org (localhost [127.0.0.1]) by hades.apache.org (ASF Mail Server at hades.apache.org) with ESMTP id 783A5AC005A; Wed, 28 Jan 2015 20:36:55 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit 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 -0000 To: commits@hive.apache.org From: omalley@apache.org X-Mailer: svnmailer-1.0.9 Message-Id: <20150128203655.783A5AC005A@hades.apache.org> 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. *

* 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;