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

huor pushed a commit to branch huor_cloud
in repository https://gitbox.apache.org/repos/asf/hawq.git


The following commit(s) were added to refs/heads/huor_cloud by this push:
     new 358b978  HAWQ-1686. Fix apache license header information for orc 
related files
358b978 is described below

commit 358b978dcb097c9acc3fde95584c7722e9637ad4
Author: Ruilong Huo <[email protected]>
AuthorDate: Fri Mar 15 08:44:13 2019 +0800

    HAWQ-1686. Fix apache license header information for orc related files
---
 contrib/orc/cwrapper/Makefile        | 17 +++++++++++++++++
 contrib/orc/cwrapper/format/Makefile | 17 +++++++++++++++++
 src/backend/libpq/cloudrest.c        | 24 ++++++++++++++++++------
 src/include/utils/cloudrest.h        | 25 +++++++++++++++++++------
 4 files changed, 71 insertions(+), 12 deletions(-)

diff --git a/contrib/orc/cwrapper/Makefile b/contrib/orc/cwrapper/Makefile
index d731af8..09dc234 100644
--- a/contrib/orc/cwrapper/Makefile
+++ b/contrib/orc/cwrapper/Makefile
@@ -1,3 +1,20 @@
+# 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.
+#
 cwrapper.o: cwrapper.cpp cwrapper.h
        $(MAKE) -C format liborc_format.so
        g++ --shared -o cwrapper.o cwrapper.cpp -Lformat -lorc_format 
diff --git a/contrib/orc/cwrapper/format/Makefile 
b/contrib/orc/cwrapper/format/Makefile
index cc896f8..bc1aa9a 100644
--- a/contrib/orc/cwrapper/format/Makefile
+++ b/contrib/orc/cwrapper/format/Makefile
@@ -1,3 +1,20 @@
+# 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.
+#
 All: orc_format.so
 liborc_format.so: orc_format.cpp
        g++ --shared -o liborc_format.so orc_format.cpp
diff --git a/src/backend/libpq/cloudrest.c b/src/backend/libpq/cloudrest.c
index dec2548..196e316 100644
--- a/src/backend/libpq/cloudrest.c
+++ b/src/backend/libpq/cloudrest.c
@@ -1,9 +1,21 @@
-///////////////////////////////////////////////////////////////////////////////
-// Copyright 2016, Oushu Inc.
-// All rights reserved.
-//
-// Author:
-///////////////////////////////////////////////////////////////////////////////
+/*
+ * 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.
+ */
 
 #include "utils/cloudrest.h"
 
diff --git a/src/include/utils/cloudrest.h b/src/include/utils/cloudrest.h
index e4e3cc8..8ebd8aa 100644
--- a/src/include/utils/cloudrest.h
+++ b/src/include/utils/cloudrest.h
@@ -1,9 +1,22 @@
-///////////////////////////////////////////////////////////////////////////////
-// Copyright 2016, Oushu Inc.
-// All rights reserved.
-//
-// Author:
-///////////////////////////////////////////////////////////////////////////////
+/*
+ * 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.
+ */
+
 #ifndef SRC_INCLUDE_UTILS_CLOUDREST_H_
 #define SRC_INCLUDE_UTILS_CLOUDREST_H_
 

Reply via email to