diff --git NOTICE NOTICE index 5d08ed7..706f93f 100644 --- NOTICE +++ NOTICE @@ -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. diff --git common/src/java/org/apache/hadoop/hive/common/type/Decimal128.java common/src/java/org/apache/hadoop/hive/common/type/Decimal128.java index d4cc32d..3b3e918 100644 --- common/src/java/org/apache/hadoop/hive/common/type/Decimal128.java +++ common/src/java/org/apache/hadoop/hive/common/type/Decimal128.java @@ -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 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. diff --git common/src/java/org/apache/hadoop/hive/common/type/SignedInt128.java common/src/java/org/apache/hadoop/hive/common/type/SignedInt128.java index f784290..8a1f86c 100644 --- common/src/java/org/apache/hadoop/hive/common/type/SignedInt128.java +++ common/src/java/org/apache/hadoop/hive/common/type/SignedInt128.java @@ -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 diff --git common/src/java/org/apache/hadoop/hive/common/type/SqlMathUtil.java common/src/java/org/apache/hadoop/hive/common/type/SqlMathUtil.java index 9aa1681..a747bb8 100644 --- common/src/java/org/apache/hadoop/hive/common/type/SqlMathUtil.java +++ common/src/java/org/apache/hadoop/hive/common/type/SqlMathUtil.java @@ -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. */ diff --git common/src/java/org/apache/hadoop/hive/common/type/UnsignedInt128.java common/src/java/org/apache/hadoop/hive/common/type/UnsignedInt128.java index 7fbf77c..afbd6a3 100644 --- common/src/java/org/apache/hadoop/hive/common/type/UnsignedInt128.java +++ common/src/java/org/apache/hadoop/hive/common/type/UnsignedInt128.java @@ -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 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 diff --git common/src/test/org/apache/hadoop/hive/common/type/TestDecimal128.java common/src/test/org/apache/hadoop/hive/common/type/TestDecimal128.java index 46236a5..7797a57 100644 --- common/src/test/org/apache/hadoop/hive/common/type/TestDecimal128.java +++ common/src/test/org/apache/hadoop/hive/common/type/TestDecimal128.java @@ -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 @@ /** - * This code was originally written for Microsoft PolyBase. + * This code was based on code from Microsoft's PolyBase. */ public class TestDecimal128 { diff --git common/src/test/org/apache/hadoop/hive/common/type/TestSignedInt128.java common/src/test/org/apache/hadoop/hive/common/type/TestSignedInt128.java index e447ace..9e8241a 100644 --- common/src/test/org/apache/hadoop/hive/common/type/TestSignedInt128.java +++ common/src/test/org/apache/hadoop/hive/common/type/TestSignedInt128.java @@ -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 @@ /** * 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; diff --git common/src/test/org/apache/hadoop/hive/common/type/TestSqlMathUtil.java common/src/test/org/apache/hadoop/hive/common/type/TestSqlMathUtil.java index 0d13847..08b3e04 100644 --- common/src/test/org/apache/hadoop/hive/common/type/TestSqlMathUtil.java +++ common/src/test/org/apache/hadoop/hive/common/type/TestSqlMathUtil.java @@ -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 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 diff --git common/src/test/org/apache/hadoop/hive/common/type/TestUnsignedInt128.java common/src/test/org/apache/hadoop/hive/common/type/TestUnsignedInt128.java index e99782e..c662526 100644 --- common/src/test/org/apache/hadoop/hive/common/type/TestUnsignedInt128.java +++ common/src/test/org/apache/hadoop/hive/common/type/TestUnsignedInt128.java @@ -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 @@ /** * 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;