You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@iceberg.apache.org by bl...@apache.org on 2019/10/15 00:59:55 UTC

[incubator-iceberg] branch master updated: Update license docs for 0.7.0 release (#548)

This is an automated email from the ASF dual-hosted git repository.

blue pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-iceberg.git


The following commit(s) were added to refs/heads/master by this push:
     new 789eba3  Update license docs for 0.7.0 release (#548)
789eba3 is described below

commit 789eba39012b7a18076e09662af7624101b0e060
Author: Ryan Blue <rd...@users.noreply.github.com>
AuthorDate: Mon Oct 14 17:59:45 2019 -0700

    Update license docs for 0.7.0 release (#548)
    
    * Remove gradle-wrapper.jar that should be downloaded
    * Add gradlew and gradle/wrapper/gradle-wrapper.properties to LICENSE
    * Add license header to Hive Metastore schema SQL file
---
 LICENSE                                            |  10 ++++++++++
 gradle/wrapper/gradle-wrapper.jar                  | Bin 54329 -> 0 bytes
 gradlew                                            |   4 ++++
 .../src/test/resources/hive-schema-3.1.0.derby.sql |  21 +++++++++++++++++++++
 4 files changed, 35 insertions(+)

diff --git a/LICENSE b/LICENSE
index fec6e32..5cf503c 100644
--- a/LICENSE
+++ b/LICENSE
@@ -203,6 +203,16 @@
 
 --------------------------------------------------------------------------------
 
+This product includes a gradle wrapper.
+
+* gradlew and gradle/wrapper/gradle-wrapper.properties
+
+Copyright: 2010-2019 Gradle Authors.
+Home page: https://github.com/gradle/gradle
+License: http://www.apache.org/licenses/LICENSE-2.0
+
+--------------------------------------------------------------------------------
+
 This product includes code from Apache Avro.
 
 * Conversion in DecimalWriter is based on Avro's Conversions.DecimalConversion.
diff --git a/gradle/wrapper/gradle-wrapper.jar b/gradle/wrapper/gradle-wrapper.jar
deleted file mode 100644
index 01b8bf6..0000000
Binary files a/gradle/wrapper/gradle-wrapper.jar and /dev/null differ
diff --git a/gradlew b/gradlew
index cccdd3d..e718f9c 100755
--- a/gradlew
+++ b/gradlew
@@ -64,6 +64,10 @@ case "`uname`" in
     ;;
 esac
 
+if [ ! -e $APP_HOME/gradle/wrapper/gradle-wrapper.jar ]; then
+    curl -o $APP_HOME/gradle/wrapper/gradle-wrapper.jar https://raw.githubusercontent.com/gradle/gradle/v5.4.1/gradle/wrapper/gradle-wrapper.jar
+fi
+
 CLASSPATH=$APP_HOME/gradle/wrapper/gradle-wrapper.jar
 
 # Determine the Java command to use to start the JVM.
diff --git a/hive/src/test/resources/hive-schema-3.1.0.derby.sql b/hive/src/test/resources/hive-schema-3.1.0.derby.sql
index 6411e98..55097d6 100644
--- a/hive/src/test/resources/hive-schema-3.1.0.derby.sql
+++ b/hive/src/test/resources/hive-schema-3.1.0.derby.sql
@@ -1,3 +1,24 @@
+--
+-- 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.
+--
+-- This file was copied from Apache Hive, at:
+-- https://github.com/apache/hive/blob/master/standalone-metastore/metastore-server/src/main/sql/derby/hive-schema-3.1.0.derby.sql
+--
+-- This has been modified slightly for compatibility with older Hive versions.
+--
 -- Timestamp: 2011-09-22 15:32:02.024
 -- Source database is: /home/carl/Work/repos/hive1/metastore/scripts/upgrade/derby/mdb
 -- Connection URL is: jdbc:derby:/home/carl/Work/repos/hive1/metastore/scripts/upgrade/derby/mdb