You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@orc.apache.org by ga...@apache.org on 2023/03/16 03:02:47 UTC
[orc] branch main updated: ORC-1376: [C++] Add missing license headers
This is an automated email from the ASF dual-hosted git repository.
gangwu pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/orc.git
The following commit(s) were added to refs/heads/main by this push:
new 415428735 ORC-1376: [C++] Add missing license headers
415428735 is described below
commit 415428735a04805ca4197657b65c69d12a901d49
Author: ffacs <34...@users.noreply.github.com>
AuthorDate: Thu Mar 16 11:02:41 2023 +0800
ORC-1376: [C++] Add missing license headers
What changes were proposed in this pull request?
- Add license header to SchemaEvolution.hh and SchemaEvolution.cc
Why are the changes needed?
- The previous commit failed to add the license header.
This closes #1441
---
c++/src/SchemaEvolution.cc | 18 ++++++++++++++++++
c++/src/SchemaEvolution.hh | 18 ++++++++++++++++++
2 files changed, 36 insertions(+)
diff --git a/c++/src/SchemaEvolution.cc b/c++/src/SchemaEvolution.cc
index f519b8e4b..adbedd5fa 100644
--- a/c++/src/SchemaEvolution.cc
+++ b/c++/src/SchemaEvolution.cc
@@ -1,3 +1,21 @@
+/**
+ * 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 "SchemaEvolution.hh"
#include "orc/Exceptions.hh"
diff --git a/c++/src/SchemaEvolution.hh b/c++/src/SchemaEvolution.hh
index 57ad55b13..ef9020eba 100644
--- a/c++/src/SchemaEvolution.hh
+++ b/c++/src/SchemaEvolution.hh
@@ -1,3 +1,21 @@
+/**
+ * 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 ORC_SCHEMA_EVOLUTION_HH
#define ORC_SCHEMA_EVOLUTION_HH