You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@hawq.apache.org by wl...@apache.org on 2015/12/07 09:49:42 UTC

[2/2] incubator-hawq git commit: HAWQ-228. Add license header for gpopt

HAWQ-228. Add license header for gpopt


Project: http://git-wip-us.apache.org/repos/asf/incubator-hawq/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-hawq/commit/bd126aa0
Tree: http://git-wip-us.apache.org/repos/asf/incubator-hawq/tree/bd126aa0
Diff: http://git-wip-us.apache.org/repos/asf/incubator-hawq/diff/bd126aa0

Branch: refs/heads/master
Commit: bd126aa0f6dcf882092ddb41f64ccc67688b81d7
Parents: c5e0beb
Author: Wen Lin <wl...@pivotal.io>
Authored: Mon Dec 7 16:50:40 2015 +0800
Committer: Wen Lin <wl...@pivotal.io>
Committed: Mon Dec 7 16:50:40 2015 +0800

----------------------------------------------------------------------
 src/backend/gpopt/Allocators.cpp                | 25 +++++++++++++-----
 src/backend/gpopt/CGPOptimizer.cpp              | 25 +++++++++++++-----
 .../gpopt/config/CConfigParamMapping.cpp        | 25 +++++++++++++-----
 src/backend/gpopt/gpdbwrappers.cpp              | 25 +++++++++++++-----
 .../gpopt/relcache/CMDProviderRelcache.cpp      | 25 +++++++++++++-----
 src/backend/gpopt/translate/CCTEListEntry.cpp   | 24 +++++++++++++----
 .../gpopt/translate/CContextDXLToPlStmt.cpp     | 25 +++++++++++++-----
 .../gpopt/translate/CDXLTranslateContext.cpp    | 25 +++++++++++++-----
 .../translate/CDXLTranslateContextBaseTable.cpp | 24 +++++++++++++----
 .../gpopt/translate/CMappingColIdVar.cpp        | 26 ++++++++++++++-----
 .../gpopt/translate/CMappingColIdVarPlStmt.cpp  | 26 ++++++++++++++-----
 .../gpopt/translate/CMappingColIdVarQuery.cpp   | 27 +++++++++++++++-----
 .../translate/CMappingElementColIdParamId.cpp   | 25 +++++++++++++-----
 .../gpopt/translate/CMappingElementColIdTE.cpp  | 25 +++++++++++++-----
 .../gpopt/translate/CMappingParamIdScalarId.cpp | 26 ++++++++++++++-----
 .../gpopt/translate/CMappingVarColId.cpp        | 26 ++++++++++++++-----
 src/backend/gpopt/translate/CQueryMutators.cpp  | 19 ++++++++++++++
 .../gpopt/translate/CStateDXLToQuery.cpp        | 25 +++++++++++++-----
 .../gpopt/translate/CTranslatorDXLToPlStmt.cpp  | 25 +++++++++++++-----
 .../gpopt/translate/CTranslatorDXLToQuery.cpp   | 25 +++++++++++++-----
 .../gpopt/translate/CTranslatorDXLToScalar.cpp  | 25 +++++++++++++-----
 .../gpopt/translate/CTranslatorPlStmtToDXL.cpp  | 25 +++++++++++++-----
 .../gpopt/translate/CTranslatorQueryToDXL.cpp   | 25 +++++++++++++-----
 .../translate/CTranslatorRelcacheToDXL.cpp      | 25 +++++++++++++-----
 .../gpopt/translate/CTranslatorScalarToDXL.cpp  | 24 +++++++++++++----
 .../gpopt/translate/CTranslatorUtils.cpp        | 25 +++++++++++++-----
 src/backend/gpopt/utils/CCatalogUtils.cpp       | 25 +++++++++++++-----
 src/backend/gpopt/utils/COptTasks.cpp           | 27 +++++++++++++++-----
 src/backend/gpopt/utils/funcs.cpp               | 25 +++++++++++++-----
 src/backend/gpopt/utils/nodeutils.cpp           | 26 ++++++++++++++-----
 src/include/gpopt/Allocators.h                  | 25 +++++++++++++-----
 src/include/gpopt/CGPOptimizer.h                | 25 +++++++++++++-----
 src/include/gpopt/config/CConfigParamMapping.h  | 25 +++++++++++++-----
 src/include/gpopt/gpdbwrappers.h                | 25 +++++++++++++-----
 .../gpopt/relcache/CMDProviderRelcache.h        | 25 +++++++++++++-----
 src/include/gpopt/translate/CCTEListEntry.h     | 25 +++++++++++++-----
 .../gpopt/translate/CContextDXLToPlStmt.h       | 25 +++++++++++++-----
 .../gpopt/translate/CDXLTranslateContext.h      | 25 +++++++++++++-----
 .../translate/CDXLTranslateContextBaseTable.h   | 25 +++++++++++++-----
 src/include/gpopt/translate/CGPDBAttInfo.h      | 25 +++++++++++++-----
 src/include/gpopt/translate/CGPDBAttOptCol.h    | 25 +++++++++++++-----
 src/include/gpopt/translate/CIndexQualInfo.h    | 25 +++++++++++++-----
 src/include/gpopt/translate/CMappingColIdVar.h  | 25 +++++++++++++-----
 .../gpopt/translate/CMappingColIdVarPlStmt.h    | 25 +++++++++++++-----
 .../gpopt/translate/CMappingColIdVarQuery.h     | 25 +++++++++++++-----
 .../translate/CMappingElementColIdParamId.h     | 25 +++++++++++++-----
 .../gpopt/translate/CMappingElementColIdTE.h    | 25 +++++++++++++-----
 .../gpopt/translate/CMappingParamIdScalarId.h   | 25 +++++++++++++-----
 src/include/gpopt/translate/CMappingVarColId.h  | 25 +++++++++++++-----
 src/include/gpopt/translate/COptColInfo.h       | 25 +++++++++++++-----
 src/include/gpopt/translate/CQueryMutators.h    | 25 +++++++++++++-----
 src/include/gpopt/translate/CStateDXLToQuery.h  | 25 +++++++++++++-----
 .../gpopt/translate/CTranslatorDXLToPlStmt.h    | 25 +++++++++++++-----
 .../gpopt/translate/CTranslatorDXLToQuery.h     | 25 +++++++++++++-----
 .../gpopt/translate/CTranslatorDXLToScalar.h    | 25 +++++++++++++-----
 .../gpopt/translate/CTranslatorPlStmtToDXL.h    | 26 ++++++++++++++-----
 .../gpopt/translate/CTranslatorQueryToDXL.h     | 25 +++++++++++++-----
 .../gpopt/translate/CTranslatorRelcacheToDXL.h  | 25 +++++++++++++-----
 .../gpopt/translate/CTranslatorScalarToDXL.h    | 25 +++++++++++++-----
 src/include/gpopt/translate/CTranslatorUtils.h  | 25 +++++++++++++-----
 src/include/gpopt/utils/CCatalogUtils.h         | 25 +++++++++++++-----
 .../gpopt/utils/CConstExprEvaluatorProxy.h      | 25 +++++++++++++-----
 src/include/gpopt/utils/COptClient.h            | 25 +++++++++++++-----
 src/include/gpopt/utils/COptServer.h            | 25 +++++++++++++-----
 src/include/gpopt/utils/COptTasks.h             | 25 +++++++++++++-----
 src/include/gpopt/utils/gpdbdefs.h              | 25 +++++++++++++-----
 src/include/gpopt/utils/nodeutils.h             | 25 +++++++++++++-----
 67 files changed, 1275 insertions(+), 401 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-hawq/blob/bd126aa0/src/backend/gpopt/Allocators.cpp
----------------------------------------------------------------------
diff --git a/src/backend/gpopt/Allocators.cpp b/src/backend/gpopt/Allocators.cpp
index 40a12dc..de762ae 100644
--- a/src/backend/gpopt/Allocators.cpp
+++ b/src/backend/gpopt/Allocators.cpp
@@ -1,16 +1,29 @@
+/*
+ * 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.
+ */
+
 //---------------------------------------------------------------------------
-//	Greenplum Database
-//	Copyright (C) 2013 EMC Corp.
-//
 //	@filename:
 //		Allocators.h
 //
 //	@doc:
 //		Memory allocation/deallocation operators
 //
-//	@owner:
-//		solimm1
-//
 //	@test:
 //
 //---------------------------------------------------------------------------

http://git-wip-us.apache.org/repos/asf/incubator-hawq/blob/bd126aa0/src/backend/gpopt/CGPOptimizer.cpp
----------------------------------------------------------------------
diff --git a/src/backend/gpopt/CGPOptimizer.cpp b/src/backend/gpopt/CGPOptimizer.cpp
index a126986..ab88232 100644
--- a/src/backend/gpopt/CGPOptimizer.cpp
+++ b/src/backend/gpopt/CGPOptimizer.cpp
@@ -1,16 +1,29 @@
+/*
+ * 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.
+ */
+
 //---------------------------------------------------------------------------
-//	Greenplum Database
-//	Copyright (C) 2012 Greenplum, Inc.
-//
 //	@filename:
 //		CGPOptimizer.cpp
 //
 //	@doc:
 //		Entry point to GP optimizer
 //
-//	@owner:
-//		solimm1
-//
 //	@test:
 //
 //

http://git-wip-us.apache.org/repos/asf/incubator-hawq/blob/bd126aa0/src/backend/gpopt/config/CConfigParamMapping.cpp
----------------------------------------------------------------------
diff --git a/src/backend/gpopt/config/CConfigParamMapping.cpp b/src/backend/gpopt/config/CConfigParamMapping.cpp
index 827ae86..4c54061 100644
--- a/src/backend/gpopt/config/CConfigParamMapping.cpp
+++ b/src/backend/gpopt/config/CConfigParamMapping.cpp
@@ -1,16 +1,29 @@
+/*
+ * 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.
+ */
+
 //---------------------------------------------------------------------------
-//	Greenplum Database
-//	Copyright (C) 2012 EMC Corp.
-//
 //	@filename:
 //		CConfigParamMapping.cpp
 //
 //	@doc:
 //		Implementation of GPDB config params->trace flags mapping
 //
-//	@owner:
-//		antovl
-//
 //	@test:
 //
 //

http://git-wip-us.apache.org/repos/asf/incubator-hawq/blob/bd126aa0/src/backend/gpopt/gpdbwrappers.cpp
----------------------------------------------------------------------
diff --git a/src/backend/gpopt/gpdbwrappers.cpp b/src/backend/gpopt/gpdbwrappers.cpp
index b791ef6..45a7349 100644
--- a/src/backend/gpopt/gpdbwrappers.cpp
+++ b/src/backend/gpopt/gpdbwrappers.cpp
@@ -1,7 +1,23 @@
+/*
+ * 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.
+ */
+
 //---------------------------------------------------------------------------
-//	Greenplum Database
-//	Copyright (C) 2012 EMC Corp.
-//
 //	@filename:
 //		gpdbwrappers.cpp
 //
@@ -11,9 +27,6 @@
 //		the long jump stack. That is why we save the return value of the GPDB
 //		function to a local variable and return it after the PG_END_TRY()
 //
-//	@owner:
-//		elhela
-//
 //	@test:
 //
 //

http://git-wip-us.apache.org/repos/asf/incubator-hawq/blob/bd126aa0/src/backend/gpopt/relcache/CMDProviderRelcache.cpp
----------------------------------------------------------------------
diff --git a/src/backend/gpopt/relcache/CMDProviderRelcache.cpp b/src/backend/gpopt/relcache/CMDProviderRelcache.cpp
index 561e5ca..50ffb3c 100644
--- a/src/backend/gpopt/relcache/CMDProviderRelcache.cpp
+++ b/src/backend/gpopt/relcache/CMDProviderRelcache.cpp
@@ -1,7 +1,23 @@
+/*
+ * 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.
+ */
+
 //---------------------------------------------------------------------------
-//	Greenplum Database
-//	Copyright (C) 2011 EMC Corp.
-//
 //	@filename:
 //		CMDProviderRelcache.cpp
 //
@@ -9,9 +25,6 @@
 //		Implementation of a relcache-based metadata provider, which uses GPDB's
 //		relcache to lookup objects given their ids.
 //
-//	@owner:
-//		antovl
-//
 //	@test:
 //
 //

http://git-wip-us.apache.org/repos/asf/incubator-hawq/blob/bd126aa0/src/backend/gpopt/translate/CCTEListEntry.cpp
----------------------------------------------------------------------
diff --git a/src/backend/gpopt/translate/CCTEListEntry.cpp b/src/backend/gpopt/translate/CCTEListEntry.cpp
index 033b25a..077bd55 100644
--- a/src/backend/gpopt/translate/CCTEListEntry.cpp
+++ b/src/backend/gpopt/translate/CCTEListEntry.cpp
@@ -1,15 +1,29 @@
+/*
+ * 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.
+ */
+
 //---------------------------------------------------------------------------
-//	Greenplum Database
-//	Copyright (C) 2012 EMC Corp.
-//
 //	@filename:
 //		CCTEListEntry.cpp
 //
 //	@doc:
 //		Implementation of the class representing the list of common table
 //		expression defined at a query level
-//	@owner:
-//		raghav
 //
 //	@test:
 //

http://git-wip-us.apache.org/repos/asf/incubator-hawq/blob/bd126aa0/src/backend/gpopt/translate/CContextDXLToPlStmt.cpp
----------------------------------------------------------------------
diff --git a/src/backend/gpopt/translate/CContextDXLToPlStmt.cpp b/src/backend/gpopt/translate/CContextDXLToPlStmt.cpp
index 365b069..f886148 100644
--- a/src/backend/gpopt/translate/CContextDXLToPlStmt.cpp
+++ b/src/backend/gpopt/translate/CContextDXLToPlStmt.cpp
@@ -1,7 +1,23 @@
+/*
+ * 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.
+ */
+
 //---------------------------------------------------------------------------
-//	Greenplum Database
-//	Copyright (C) 2011 Greenplum, Inc.
-//
 //	@filename:
 //		CContextDXLToPlStmt.cpp
 //
@@ -11,9 +27,6 @@
 //		nodes as well as params), list of RangeTableEntires and Subplans
 //		generated so far during DXL-->PlStmt translation.
 //
-//	@owner:
-//		raghav
-//
 //	@test:
 //
 //

http://git-wip-us.apache.org/repos/asf/incubator-hawq/blob/bd126aa0/src/backend/gpopt/translate/CDXLTranslateContext.cpp
----------------------------------------------------------------------
diff --git a/src/backend/gpopt/translate/CDXLTranslateContext.cpp b/src/backend/gpopt/translate/CDXLTranslateContext.cpp
index 1dfc5ab..fa2140a 100644
--- a/src/backend/gpopt/translate/CDXLTranslateContext.cpp
+++ b/src/backend/gpopt/translate/CDXLTranslateContext.cpp
@@ -1,16 +1,29 @@
+/*
+ * 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.
+ */
+
 //---------------------------------------------------------------------------
-//	Greenplum Database
-//	Copyright (C) 2010 Greenplum, Inc.
-//
 //	@filename:
 //		CDXLTranslateContext.cpp
 //
 //	@doc:
 //		Implementation of the methods for accessing translation context
 //
-//	@owner:
-//		antovl
-//
 //	@test:
 //
 //

http://git-wip-us.apache.org/repos/asf/incubator-hawq/blob/bd126aa0/src/backend/gpopt/translate/CDXLTranslateContextBaseTable.cpp
----------------------------------------------------------------------
diff --git a/src/backend/gpopt/translate/CDXLTranslateContextBaseTable.cpp b/src/backend/gpopt/translate/CDXLTranslateContextBaseTable.cpp
index 282d8b3..a4a2c1d 100644
--- a/src/backend/gpopt/translate/CDXLTranslateContextBaseTable.cpp
+++ b/src/backend/gpopt/translate/CDXLTranslateContextBaseTable.cpp
@@ -1,6 +1,23 @@
+/*
+ * 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.
+ */
+
 //---------------------------------------------------------------------------
-//	Greenplum Database
-//	Copyright (C) 2010 Greenplum, Inc.
 //
 //	@filename:
 //		CDXLTranslateContextBaseTable.cpp
@@ -8,9 +25,6 @@
 //	@doc:
 //		Implementation of the methods for accessing translation context for base tables.
 //
-//	@owner:
-//		antovl
-//
 //	@test:
 //
 //

http://git-wip-us.apache.org/repos/asf/incubator-hawq/blob/bd126aa0/src/backend/gpopt/translate/CMappingColIdVar.cpp
----------------------------------------------------------------------
diff --git a/src/backend/gpopt/translate/CMappingColIdVar.cpp b/src/backend/gpopt/translate/CMappingColIdVar.cpp
index 339fa2b..90a25de 100644
--- a/src/backend/gpopt/translate/CMappingColIdVar.cpp
+++ b/src/backend/gpopt/translate/CMappingColIdVar.cpp
@@ -1,17 +1,29 @@
+/*
+ * 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.
+ */
+
 //---------------------------------------------------------------------------
-//	Greenplum Database
-//	Copyright (C) 2011 Greenplum, Inc.
-//
 //	@filename:
 //		CMappingColIdVar.cpp
 //
 //	@doc:
 //		Implementation of base ColId-> Var mapping class
 //
-//
-//	@owner:
-//		raghav
-//
 //	@test:
 //
 //

http://git-wip-us.apache.org/repos/asf/incubator-hawq/blob/bd126aa0/src/backend/gpopt/translate/CMappingColIdVarPlStmt.cpp
----------------------------------------------------------------------
diff --git a/src/backend/gpopt/translate/CMappingColIdVarPlStmt.cpp b/src/backend/gpopt/translate/CMappingColIdVarPlStmt.cpp
index 0930849..6cc89db 100644
--- a/src/backend/gpopt/translate/CMappingColIdVarPlStmt.cpp
+++ b/src/backend/gpopt/translate/CMappingColIdVarPlStmt.cpp
@@ -1,7 +1,23 @@
+/*
+ * 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.
+ */
+
 //---------------------------------------------------------------------------
-//	Greenplum Database
-//	Copyright (C) 2011 Greenplum, Inc.
-//
 //	@filename:
 //		CMappingColIdVarPlStmt.cpp
 //
@@ -9,10 +25,6 @@
 //		Implentation of the functions that provide the mapping between Var, Param
 //		and variables of Sub-query to CDXLNode during Query->DXL translation
 //
-//
-//	@owner:
-//		raghav
-//
 //	@test:
 //
 //

http://git-wip-us.apache.org/repos/asf/incubator-hawq/blob/bd126aa0/src/backend/gpopt/translate/CMappingColIdVarQuery.cpp
----------------------------------------------------------------------
diff --git a/src/backend/gpopt/translate/CMappingColIdVarQuery.cpp b/src/backend/gpopt/translate/CMappingColIdVarQuery.cpp
index cb1dbbb..37ee8c8 100644
--- a/src/backend/gpopt/translate/CMappingColIdVarQuery.cpp
+++ b/src/backend/gpopt/translate/CMappingColIdVarQuery.cpp
@@ -1,7 +1,23 @@
-//---------------------------------------------------------------------------
-//	Greenplum Database
-//	Copyright (C) 2011 Greenplum, Inc.
-//
+/*
+ * 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.
+ */
+
+//--------------------------------------------------------------------------
 //	@filename:
 //		CMappingColIdVarQuery.cpp
 //
@@ -9,9 +25,6 @@
 //		Implementation of the functions that provide the mapping from CDXLNode to
 //		Var during DXL->Query translation
 //
-//	@owner:
-//		raghav
-//
 //	@test:
 //
 //

http://git-wip-us.apache.org/repos/asf/incubator-hawq/blob/bd126aa0/src/backend/gpopt/translate/CMappingElementColIdParamId.cpp
----------------------------------------------------------------------
diff --git a/src/backend/gpopt/translate/CMappingElementColIdParamId.cpp b/src/backend/gpopt/translate/CMappingElementColIdParamId.cpp
index 9a46bc2..87153a6 100644
--- a/src/backend/gpopt/translate/CMappingElementColIdParamId.cpp
+++ b/src/backend/gpopt/translate/CMappingElementColIdParamId.cpp
@@ -1,7 +1,23 @@
+/*
+ * 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.
+ */
+
 //---------------------------------------------------------------------------
-//	Greenplum Database
-//	Copyright (C) 2012 EMC Corp.
-//
 //	@filename:
 //		CMappingElementColIdParamId.cpp
 //
@@ -9,9 +25,6 @@
 //		Implementation of the functions for the mapping element between ColId
 //		and ParamId during DXL->PlStmt translation
 //
-//	@owner:
-//		elhela
-//
 //	@test:
 //
 //

http://git-wip-us.apache.org/repos/asf/incubator-hawq/blob/bd126aa0/src/backend/gpopt/translate/CMappingElementColIdTE.cpp
----------------------------------------------------------------------
diff --git a/src/backend/gpopt/translate/CMappingElementColIdTE.cpp b/src/backend/gpopt/translate/CMappingElementColIdTE.cpp
index 62bbe87..4a70404 100644
--- a/src/backend/gpopt/translate/CMappingElementColIdTE.cpp
+++ b/src/backend/gpopt/translate/CMappingElementColIdTE.cpp
@@ -1,7 +1,23 @@
+/*
+ * 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.
+ */
+
 //---------------------------------------------------------------------------
-//	Greenplum Database
-//	Copyright (C) 2011 Greenplum, Inc.
-//
 //	@filename:
 //		CMappingElementColIdTE.cpp
 //
@@ -9,9 +25,6 @@
 //		Implementation of the functions that provide the mapping from CDXLNode to
 //		Var during DXL->Query translation
 //
-//	@owner:
-//		raghav
-//
 //	@test:
 //
 //

http://git-wip-us.apache.org/repos/asf/incubator-hawq/blob/bd126aa0/src/backend/gpopt/translate/CMappingParamIdScalarId.cpp
----------------------------------------------------------------------
diff --git a/src/backend/gpopt/translate/CMappingParamIdScalarId.cpp b/src/backend/gpopt/translate/CMappingParamIdScalarId.cpp
index f2c2413..e041efc 100644
--- a/src/backend/gpopt/translate/CMappingParamIdScalarId.cpp
+++ b/src/backend/gpopt/translate/CMappingParamIdScalarId.cpp
@@ -1,17 +1,29 @@
+/*
+ * 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.
+ */
+
 //---------------------------------------------------------------------------
-//	Greenplum Database
-//	Copyright (C) 2012 EMC Corp.
-//
 //	@filename:
 //		CMappingParamIdScalarId.cpp
 //
 //	@doc:
 //		Implementation of param id -> scalar id mapping class
 //
-//
-//	@owner:
-//		elhela
-//
 //	@test:
 //
 //

http://git-wip-us.apache.org/repos/asf/incubator-hawq/blob/bd126aa0/src/backend/gpopt/translate/CMappingVarColId.cpp
----------------------------------------------------------------------
diff --git a/src/backend/gpopt/translate/CMappingVarColId.cpp b/src/backend/gpopt/translate/CMappingVarColId.cpp
index ea5f524..798efcc 100644
--- a/src/backend/gpopt/translate/CMappingVarColId.cpp
+++ b/src/backend/gpopt/translate/CMappingVarColId.cpp
@@ -1,17 +1,29 @@
+/*
+ * 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.
+ */
+
 //---------------------------------------------------------------------------
-//	Greenplum Database
-//	Copyright (C) 2011 Greenplum, Inc.
-//
 //	@filename:
 //		CMappingVarColId.cpp
 //
 //	@doc:
 //		Implementation of base (abstract) var mapping class
 //
-//
-//	@owner:
-//		raghav
-//
 //	@test:
 //
 //

http://git-wip-us.apache.org/repos/asf/incubator-hawq/blob/bd126aa0/src/backend/gpopt/translate/CQueryMutators.cpp
----------------------------------------------------------------------
diff --git a/src/backend/gpopt/translate/CQueryMutators.cpp b/src/backend/gpopt/translate/CQueryMutators.cpp
index 68d189e..751fc8c 100644
--- a/src/backend/gpopt/translate/CQueryMutators.cpp
+++ b/src/backend/gpopt/translate/CQueryMutators.cpp
@@ -1,3 +1,22 @@
+/*
+ * 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.
+ */
+
 //---------------------------------------------------------------------------
 //	Greenplum Database
 //	Copyright (C) 2012 EMC Corp.

http://git-wip-us.apache.org/repos/asf/incubator-hawq/blob/bd126aa0/src/backend/gpopt/translate/CStateDXLToQuery.cpp
----------------------------------------------------------------------
diff --git a/src/backend/gpopt/translate/CStateDXLToQuery.cpp b/src/backend/gpopt/translate/CStateDXLToQuery.cpp
index 713bd18..8bd7533 100644
--- a/src/backend/gpopt/translate/CStateDXLToQuery.cpp
+++ b/src/backend/gpopt/translate/CStateDXLToQuery.cpp
@@ -1,7 +1,23 @@
+/*
+ * 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.
+ */
+
 //---------------------------------------------------------------------------
-//	Greenplum Database
-//	Copyright (C) 2011 EMC Corp.
-//
 //	@filename:
 //		CStateDXLToQuery.cpp
 //
@@ -10,9 +26,6 @@
 //		output target entries and output column names during DXL-->Query
 //		translation.
 //
-//	@owner:
-//		raghav
-//
 //	@test:
 //
 //

http://git-wip-us.apache.org/repos/asf/incubator-hawq/blob/bd126aa0/src/backend/gpopt/translate/CTranslatorDXLToPlStmt.cpp
----------------------------------------------------------------------
diff --git a/src/backend/gpopt/translate/CTranslatorDXLToPlStmt.cpp b/src/backend/gpopt/translate/CTranslatorDXLToPlStmt.cpp
index aed8240..ec0c511 100644
--- a/src/backend/gpopt/translate/CTranslatorDXLToPlStmt.cpp
+++ b/src/backend/gpopt/translate/CTranslatorDXLToPlStmt.cpp
@@ -1,7 +1,23 @@
+/*
+ * 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.
+ */
+
 //---------------------------------------------------------------------------
-//	Greenplum Database
-//	Copyright (C) 2010 Greenplum, Inc.
-//
 //	@filename:
 //		CTranslatorDXLToPlStmt.cpp
 //
@@ -9,9 +25,6 @@
 //		Implementation of the methods for translating from DXL tree to GPDB
 //		PlannedStmt.
 //
-//	@owner:
-//		antovl
-//
 //	@test:
 //
 //

http://git-wip-us.apache.org/repos/asf/incubator-hawq/blob/bd126aa0/src/backend/gpopt/translate/CTranslatorDXLToQuery.cpp
----------------------------------------------------------------------
diff --git a/src/backend/gpopt/translate/CTranslatorDXLToQuery.cpp b/src/backend/gpopt/translate/CTranslatorDXLToQuery.cpp
index 6732bf0..8cee1d3 100644
--- a/src/backend/gpopt/translate/CTranslatorDXLToQuery.cpp
+++ b/src/backend/gpopt/translate/CTranslatorDXLToQuery.cpp
@@ -1,7 +1,23 @@
+/*
+ * 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.
+ */
+
 //---------------------------------------------------------------------------
-//	Greenplum Database
-//	Copyright (C) 2011 EMC Corp.
-//
 //	@filename:
 //		CTranslatorDXLToQuery.cpp
 //
@@ -11,9 +27,6 @@
 //		the caller is responsible for freeing it.
 //
 //
-//	@owner:
-//		raghav
-//
 //	@test:
 //
 //

http://git-wip-us.apache.org/repos/asf/incubator-hawq/blob/bd126aa0/src/backend/gpopt/translate/CTranslatorDXLToScalar.cpp
----------------------------------------------------------------------
diff --git a/src/backend/gpopt/translate/CTranslatorDXLToScalar.cpp b/src/backend/gpopt/translate/CTranslatorDXLToScalar.cpp
index c2124ab..db086b8 100644
--- a/src/backend/gpopt/translate/CTranslatorDXLToScalar.cpp
+++ b/src/backend/gpopt/translate/CTranslatorDXLToScalar.cpp
@@ -1,7 +1,23 @@
+/*
+ * 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.
+ */
+
 //---------------------------------------------------------------------------
-//	Greenplum Database
-//	Copyright (C) 2011 EMC Corp.
-//
 //	@filename:
 //		CTranslatorDXLToScalar.cpp
 //
@@ -9,9 +25,6 @@
 //		Implementation of the methods used to translate DXL Scalar Node into
 //		GPDB's Expr.
 //
-//	@owner:
-//		raghav
-//
 //	@test:
 //---------------------------------------------------------------------------
 

http://git-wip-us.apache.org/repos/asf/incubator-hawq/blob/bd126aa0/src/backend/gpopt/translate/CTranslatorPlStmtToDXL.cpp
----------------------------------------------------------------------
diff --git a/src/backend/gpopt/translate/CTranslatorPlStmtToDXL.cpp b/src/backend/gpopt/translate/CTranslatorPlStmtToDXL.cpp
index 2336697..e81b069 100644
--- a/src/backend/gpopt/translate/CTranslatorPlStmtToDXL.cpp
+++ b/src/backend/gpopt/translate/CTranslatorPlStmtToDXL.cpp
@@ -1,7 +1,23 @@
+/*
+ * 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.
+ */
+
 //---------------------------------------------------------------------------
-//	Greenplum Database
-//	Copyright (C) 2010 Greenplum, Inc.
-//
 //	@filename:
 //		CTranslatorPlStmtToDXL.cpp
 //
@@ -10,9 +26,6 @@
 //		All translator methods allocate memory in the provided memory pool, and
 //		the caller is responsible for freeing it
 //
-//	@owner:
-//		antovl
-//
 //	@test:
 //
 //

http://git-wip-us.apache.org/repos/asf/incubator-hawq/blob/bd126aa0/src/backend/gpopt/translate/CTranslatorQueryToDXL.cpp
----------------------------------------------------------------------
diff --git a/src/backend/gpopt/translate/CTranslatorQueryToDXL.cpp b/src/backend/gpopt/translate/CTranslatorQueryToDXL.cpp
index f3666fd..292a98b 100644
--- a/src/backend/gpopt/translate/CTranslatorQueryToDXL.cpp
+++ b/src/backend/gpopt/translate/CTranslatorQueryToDXL.cpp
@@ -1,7 +1,23 @@
+/*
+ * 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.
+ */
+
 //---------------------------------------------------------------------------
-//  Greenplum Database
-//	Copyright (C) 2011 EMC Corp.
-//
 //	@filename:
 //		CTranslatorQueryToDXL.cpp
 //
@@ -10,9 +26,6 @@
 //		All translator methods allocate memory in the provided memory pool, and
 //		the caller is responsible for freeing it
 //
-//	@owner:
-//		raghav
-//
 //	@test:
 //
 //---------------------------------------------------------------------------

http://git-wip-us.apache.org/repos/asf/incubator-hawq/blob/bd126aa0/src/backend/gpopt/translate/CTranslatorRelcacheToDXL.cpp
----------------------------------------------------------------------
diff --git a/src/backend/gpopt/translate/CTranslatorRelcacheToDXL.cpp b/src/backend/gpopt/translate/CTranslatorRelcacheToDXL.cpp
index 3e136a4..65c0f0c 100644
--- a/src/backend/gpopt/translate/CTranslatorRelcacheToDXL.cpp
+++ b/src/backend/gpopt/translate/CTranslatorRelcacheToDXL.cpp
@@ -1,16 +1,29 @@
+/*
+ * 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.
+ */
+
 //---------------------------------------------------------------------------
-//	Greenplum Database
-//	Copyright (C) 2011 EMC Corp.
-//
 //	@filename:
 //		CTranslatorRelcacheToDXL.cpp
 //
 //	@doc:
 //		Class translating relcache entries into DXL objects
 //
-//	@owner:
-//		antovl
-//
 //	@test:
 //
 //

http://git-wip-us.apache.org/repos/asf/incubator-hawq/blob/bd126aa0/src/backend/gpopt/translate/CTranslatorScalarToDXL.cpp
----------------------------------------------------------------------
diff --git a/src/backend/gpopt/translate/CTranslatorScalarToDXL.cpp b/src/backend/gpopt/translate/CTranslatorScalarToDXL.cpp
index 115b274..b758f11 100644
--- a/src/backend/gpopt/translate/CTranslatorScalarToDXL.cpp
+++ b/src/backend/gpopt/translate/CTranslatorScalarToDXL.cpp
@@ -1,15 +1,29 @@
+/*
+ * 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.
+ */
+
 //---------------------------------------------------------------------------
-//	Greenplum Database
-//	Copyright (C) 2011 Greenplum, Inc.
-//
 //	@filename:
 //		CTranslatorScalarToDXL.cpp
 //
 //	@doc:
 //		Implementing the methods needed to translate a GPDB Scalar Operation (in a Query / PlStmt object)
 //		into a DXL trees
-//	@owner:
-//		raghav
 //
 //	@test:
 //

http://git-wip-us.apache.org/repos/asf/incubator-hawq/blob/bd126aa0/src/backend/gpopt/translate/CTranslatorUtils.cpp
----------------------------------------------------------------------
diff --git a/src/backend/gpopt/translate/CTranslatorUtils.cpp b/src/backend/gpopt/translate/CTranslatorUtils.cpp
index c9718c2..f0ac652 100644
--- a/src/backend/gpopt/translate/CTranslatorUtils.cpp
+++ b/src/backend/gpopt/translate/CTranslatorUtils.cpp
@@ -1,7 +1,23 @@
+/*
+ * 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.
+ */
+
 //---------------------------------------------------------------------------
-//	Greenplum Database
-//	Copyright (C) 2012 EMC Corp.
-//
 //	@filename:
 //		CTranslatorUtils.cpp
 //
@@ -9,9 +25,6 @@
 //		Implementation of the utility methods for translating GPDB's
 //		Query / PlannedStmt into DXL Tree
 //
-//	@owner:
-//		raghav
-//
 //	@test:
 //
 //

http://git-wip-us.apache.org/repos/asf/incubator-hawq/blob/bd126aa0/src/backend/gpopt/utils/CCatalogUtils.cpp
----------------------------------------------------------------------
diff --git a/src/backend/gpopt/utils/CCatalogUtils.cpp b/src/backend/gpopt/utils/CCatalogUtils.cpp
index beecdc5..042d1d6 100644
--- a/src/backend/gpopt/utils/CCatalogUtils.cpp
+++ b/src/backend/gpopt/utils/CCatalogUtils.cpp
@@ -1,16 +1,29 @@
+/*
+ * 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.
+ */
+
 //---------------------------------------------------------------------------
-//	Greenplum Database
-//	Copyright (C) 2011 EMC Greenplum, Inc.
-//
 //	@filename:
 //		CCatalogUtils.cpp
 //
 //	@doc:
 //		Routines to extract interesting information from the catalog
 //
-//	@owner:
-//		raghav
-//
 //	@test:
 //
 //

http://git-wip-us.apache.org/repos/asf/incubator-hawq/blob/bd126aa0/src/backend/gpopt/utils/COptTasks.cpp
----------------------------------------------------------------------
diff --git a/src/backend/gpopt/utils/COptTasks.cpp b/src/backend/gpopt/utils/COptTasks.cpp
index d6e451d..29f20fa 100644
--- a/src/backend/gpopt/utils/COptTasks.cpp
+++ b/src/backend/gpopt/utils/COptTasks.cpp
@@ -1,16 +1,29 @@
-//---------------------------------------------------------------------------
-//	Greenplum Database
-//	Copyright (C) 2011 EMC Greenplum, Inc.
-//
+/*
+ * 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.
+ */
+
+//--------------------------------------------------------------------------
 //	@filename:
 //		COptTasks.cpp
 //
 //	@doc:
 //		Routines to perform optimization related tasks using the gpos framework
 //
-//	@owner:
-//		raghav
-//
 //	@test:
 //
 //

http://git-wip-us.apache.org/repos/asf/incubator-hawq/blob/bd126aa0/src/backend/gpopt/utils/funcs.cpp
----------------------------------------------------------------------
diff --git a/src/backend/gpopt/utils/funcs.cpp b/src/backend/gpopt/utils/funcs.cpp
index f47ca7e..c36a7e3 100644
--- a/src/backend/gpopt/utils/funcs.cpp
+++ b/src/backend/gpopt/utils/funcs.cpp
@@ -1,16 +1,29 @@
+/*
+ * 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.
+ */
+
 //---------------------------------------------------------------------------
-//	Greenplum Database
-//	Copyright (C) 2011 EMC Greenplum, Inc.
-//
 //	@filename:
 //		funcs.cpp
 //
 //	@doc:
 //		API for invoking optimizer using GPDB udfs
 //
-//	@owner:
-//		raghav
-//
 //	@test:
 //
 //

http://git-wip-us.apache.org/repos/asf/incubator-hawq/blob/bd126aa0/src/backend/gpopt/utils/nodeutils.cpp
----------------------------------------------------------------------
diff --git a/src/backend/gpopt/utils/nodeutils.cpp b/src/backend/gpopt/utils/nodeutils.cpp
index 866bd3f..fd62ea7 100644
--- a/src/backend/gpopt/utils/nodeutils.cpp
+++ b/src/backend/gpopt/utils/nodeutils.cpp
@@ -1,16 +1,28 @@
+/*
+ * 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.
+ */
+
 //---------------------------------------------------------------------------
-//	Greenplum Database
-//	Copyright (C) 2011 EMC Greenplum, Inc.
-//
 //	@filename:
 //		nodeutils.cpp
 //
 //	@doc:
 //
-//
-//	@owner:
-//		raghav
-//
 //	@test:
 //
 //

http://git-wip-us.apache.org/repos/asf/incubator-hawq/blob/bd126aa0/src/include/gpopt/Allocators.h
----------------------------------------------------------------------
diff --git a/src/include/gpopt/Allocators.h b/src/include/gpopt/Allocators.h
index 4e41ac1..42ba4c9 100644
--- a/src/include/gpopt/Allocators.h
+++ b/src/include/gpopt/Allocators.h
@@ -1,16 +1,29 @@
+/*
+ * 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.
+ */
+
 //---------------------------------------------------------------------------
-//	Greenplum Database
-//	Copyright (C) 2013 EMC Corp.
-//
 //	@filename:
 //		Allocators.h
 //
 //	@doc:
 //		Memory allocation/deallocation operators
 //
-//	@owner:
-//		solimm1
-//
 //	@test:
 //
 //---------------------------------------------------------------------------

http://git-wip-us.apache.org/repos/asf/incubator-hawq/blob/bd126aa0/src/include/gpopt/CGPOptimizer.h
----------------------------------------------------------------------
diff --git a/src/include/gpopt/CGPOptimizer.h b/src/include/gpopt/CGPOptimizer.h
index 396da45..a1061fd 100644
--- a/src/include/gpopt/CGPOptimizer.h
+++ b/src/include/gpopt/CGPOptimizer.h
@@ -1,16 +1,29 @@
+/*
+ * 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.
+ */
+
 //---------------------------------------------------------------------------
-//	Greenplum Database
-//	Copyright (C) 2012 Greenplum, Inc.
-//
 //	@filename:
 //		CGPOptimizer.h
 //
 //	@doc:
 //		Entry point to GP optimizer
 //
-//	@owner:
-//		solimm1
-//
 //	@test:
 //
 //

http://git-wip-us.apache.org/repos/asf/incubator-hawq/blob/bd126aa0/src/include/gpopt/config/CConfigParamMapping.h
----------------------------------------------------------------------
diff --git a/src/include/gpopt/config/CConfigParamMapping.h b/src/include/gpopt/config/CConfigParamMapping.h
index 79122f9..b5d37c5 100644
--- a/src/include/gpopt/config/CConfigParamMapping.h
+++ b/src/include/gpopt/config/CConfigParamMapping.h
@@ -1,16 +1,29 @@
+/*
+ * 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.
+ */
+
 //---------------------------------------------------------------------------
-//	Greenplum Database
-//	Copyright (C) 2012 EMC Corp.
-//
 //	@filename:
 //		CConfigParamMapping.h
 //
 //	@doc:
 //		Mapping of GPDB config params to traceflags
 //
-//	@owner:
-//		antovl
-//
 //	@test:
 //
 //

http://git-wip-us.apache.org/repos/asf/incubator-hawq/blob/bd126aa0/src/include/gpopt/gpdbwrappers.h
----------------------------------------------------------------------
diff --git a/src/include/gpopt/gpdbwrappers.h b/src/include/gpopt/gpdbwrappers.h
index 552f71d..4b4699d 100644
--- a/src/include/gpopt/gpdbwrappers.h
+++ b/src/include/gpopt/gpdbwrappers.h
@@ -1,16 +1,29 @@
+/*
+ * 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.
+ */
+
 //---------------------------------------------------------------------------
-//	Greenplum Database
-//	Copyright (C) 2012 EMC Corp.
-//
 //	@filename:
 //		gpdbwrappers.h
 //
 //	@doc:
 //		Definition of GPDB function wrappers
 //
-//	@owner:
-//		elhela
-//
 //	@test:
 //
 //

http://git-wip-us.apache.org/repos/asf/incubator-hawq/blob/bd126aa0/src/include/gpopt/relcache/CMDProviderRelcache.h
----------------------------------------------------------------------
diff --git a/src/include/gpopt/relcache/CMDProviderRelcache.h b/src/include/gpopt/relcache/CMDProviderRelcache.h
index 002a200..98da802 100644
--- a/src/include/gpopt/relcache/CMDProviderRelcache.h
+++ b/src/include/gpopt/relcache/CMDProviderRelcache.h
@@ -1,16 +1,29 @@
+/*
+ * 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.
+ */
+
 //---------------------------------------------------------------------------
-//	Greenplum Database
-//	Copyright (C) 2011 EMC Corp.
-//
 //	@filename:
 //		CMDProviderRelcache.h
 //
 //	@doc:
 //		Relcache-based provider of metadata objects.
 //
-//	@owner:
-//		antovl
-//
 //	@test:
 //
 //

http://git-wip-us.apache.org/repos/asf/incubator-hawq/blob/bd126aa0/src/include/gpopt/translate/CCTEListEntry.h
----------------------------------------------------------------------
diff --git a/src/include/gpopt/translate/CCTEListEntry.h b/src/include/gpopt/translate/CCTEListEntry.h
index 3ae9e82..da4b4bf 100644
--- a/src/include/gpopt/translate/CCTEListEntry.h
+++ b/src/include/gpopt/translate/CCTEListEntry.h
@@ -1,7 +1,23 @@
+/*
+ * 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.
+ */
+
 //---------------------------------------------------------------------------
-//	Greenplum Database
-//	Copyright (C) 2011 Greenplum, Inc.
-//
 //	@filename:
 //		CCTEListEntry.h
 //
@@ -9,9 +25,6 @@
 //		Class representing the list of common table expression defined at a
 //		query level
 //
-//	@owner:
-//		raghav
-//
 //	@test:
 //
 //---------------------------------------------------------------------------

http://git-wip-us.apache.org/repos/asf/incubator-hawq/blob/bd126aa0/src/include/gpopt/translate/CContextDXLToPlStmt.h
----------------------------------------------------------------------
diff --git a/src/include/gpopt/translate/CContextDXLToPlStmt.h b/src/include/gpopt/translate/CContextDXLToPlStmt.h
index f92fc11..4e08a5d 100644
--- a/src/include/gpopt/translate/CContextDXLToPlStmt.h
+++ b/src/include/gpopt/translate/CContextDXLToPlStmt.h
@@ -1,7 +1,23 @@
+/*
+ * 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.
+ */
+
 //---------------------------------------------------------------------------
-//	Greenplum Database
-//	Copyright (C) 2011 Greenplum, Inc.
-//
 //	@filename:
 //		CContextDXLToPlStmt.h
 //
@@ -10,9 +26,6 @@
 //		nodes as well as params), list of RangeTableEntires and Subplans
 //		generated so far during DXL-->PlStmt translation.
 //
-//	@owner:
-//		raghav
-//
 //	@test:
 //
 //---------------------------------------------------------------------------

http://git-wip-us.apache.org/repos/asf/incubator-hawq/blob/bd126aa0/src/include/gpopt/translate/CDXLTranslateContext.h
----------------------------------------------------------------------
diff --git a/src/include/gpopt/translate/CDXLTranslateContext.h b/src/include/gpopt/translate/CDXLTranslateContext.h
index 9c90288..f125f47 100644
--- a/src/include/gpopt/translate/CDXLTranslateContext.h
+++ b/src/include/gpopt/translate/CDXLTranslateContext.h
@@ -1,7 +1,23 @@
+/*
+ * 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.
+ */
+
 //---------------------------------------------------------------------------
-//	Greenplum Database
-//	Copyright (C) 2010 Greenplum, Inc.
-//
 //	@filename:
 //		CDXLTranslateContext.h
 //
@@ -9,9 +25,6 @@
 //		Class providing access to translation context, such as mappings between
 //		table names, operator names, etc. and oids
 //
-//	@owner:
-//		antovl
-//
 //	@test:
 //
 //

http://git-wip-us.apache.org/repos/asf/incubator-hawq/blob/bd126aa0/src/include/gpopt/translate/CDXLTranslateContextBaseTable.h
----------------------------------------------------------------------
diff --git a/src/include/gpopt/translate/CDXLTranslateContextBaseTable.h b/src/include/gpopt/translate/CDXLTranslateContextBaseTable.h
index f711344..fa5824b 100644
--- a/src/include/gpopt/translate/CDXLTranslateContextBaseTable.h
+++ b/src/include/gpopt/translate/CDXLTranslateContextBaseTable.h
@@ -1,7 +1,23 @@
+/*
+ * 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.
+ */
+
 //---------------------------------------------------------------------------
-//	Greenplum Database
-//	Copyright (C) 2010 Greenplum, Inc.
-//
 //	@filename:
 //		CDXLTranslateContextBaseTable.h
 //
@@ -10,9 +26,6 @@
 //		column references, such as mappings from a DXL ColId to a GPDB attribute number in
 //		the base table schema
 //
-//	@owner:
-//		antovl
-//
 //	@test:
 //
 //

http://git-wip-us.apache.org/repos/asf/incubator-hawq/blob/bd126aa0/src/include/gpopt/translate/CGPDBAttInfo.h
----------------------------------------------------------------------
diff --git a/src/include/gpopt/translate/CGPDBAttInfo.h b/src/include/gpopt/translate/CGPDBAttInfo.h
index 9b47a0e..4860ef6 100644
--- a/src/include/gpopt/translate/CGPDBAttInfo.h
+++ b/src/include/gpopt/translate/CGPDBAttInfo.h
@@ -1,16 +1,29 @@
+/*
+ * 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.
+ */
+
 //---------------------------------------------------------------------------
-//	Greenplum Database
-//	Copyright (C) 2012 EMC Corp.
-//
 //	@filename:
 //		CGPDBAttInfo.h
 //
 //	@doc:
 //		Class to uniquely identify a column in GPDB
 //
-//	@owner:
-//		raghav
-//
 //	@test:
 //
 //

http://git-wip-us.apache.org/repos/asf/incubator-hawq/blob/bd126aa0/src/include/gpopt/translate/CGPDBAttOptCol.h
----------------------------------------------------------------------
diff --git a/src/include/gpopt/translate/CGPDBAttOptCol.h b/src/include/gpopt/translate/CGPDBAttOptCol.h
index a1cd50e..8bba7af 100644
--- a/src/include/gpopt/translate/CGPDBAttOptCol.h
+++ b/src/include/gpopt/translate/CGPDBAttOptCol.h
@@ -1,16 +1,29 @@
+/*
+ * 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.
+ */
+
 //---------------------------------------------------------------------------
-//	Greenplum Database
-//	Copyright (C) 2012 EMC Greenplum
-//
 //	@filename:
 //		CGPDBAttOptCol.h
 //
 //	@doc:
 //		Class to represent pair of GPDB var info to optimizer col info
 //
-//	@owner:
-//		raghav
-//
 //	@test:
 //
 //

http://git-wip-us.apache.org/repos/asf/incubator-hawq/blob/bd126aa0/src/include/gpopt/translate/CIndexQualInfo.h
----------------------------------------------------------------------
diff --git a/src/include/gpopt/translate/CIndexQualInfo.h b/src/include/gpopt/translate/CIndexQualInfo.h
index 28da29a..b5076b3 100644
--- a/src/include/gpopt/translate/CIndexQualInfo.h
+++ b/src/include/gpopt/translate/CIndexQualInfo.h
@@ -1,16 +1,29 @@
+/*
+ * 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.
+ */
+
 //---------------------------------------------------------------------------
-//	Greenplum Database
-//	Copyright (C) 2013 EMC Corp.
-//
 //	@filename:
 //		CIndexQualInfo.h
 //
 //	@doc:
 //		Class providing access to the original index qual expression, its modified
 //		version tailored for GPDB, and index strategy
-//	@owner:
-//		raghav
-//
 //	@test:
 //
 //

http://git-wip-us.apache.org/repos/asf/incubator-hawq/blob/bd126aa0/src/include/gpopt/translate/CMappingColIdVar.h
----------------------------------------------------------------------
diff --git a/src/include/gpopt/translate/CMappingColIdVar.h b/src/include/gpopt/translate/CMappingColIdVar.h
index 263544f..f34c592 100644
--- a/src/include/gpopt/translate/CMappingColIdVar.h
+++ b/src/include/gpopt/translate/CMappingColIdVar.h
@@ -1,7 +1,23 @@
+/*
+ * 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.
+ */
+
 //---------------------------------------------------------------------------
-//	Greenplum Database
-//	Copyright (C) 2011 Greenplum, Inc.
-//
 //	@filename:
 //		CMappingColIdVar.h
 //
@@ -11,9 +27,6 @@
 //		we implement a colid->Var mapping for PlStmt or Query respectively that
 //		is derived from this interface.
 //
-//	@owner:
-//		raghav
-//
 //	@test:
 //
 //

http://git-wip-us.apache.org/repos/asf/incubator-hawq/blob/bd126aa0/src/include/gpopt/translate/CMappingColIdVarPlStmt.h
----------------------------------------------------------------------
diff --git a/src/include/gpopt/translate/CMappingColIdVarPlStmt.h b/src/include/gpopt/translate/CMappingColIdVarPlStmt.h
index 5b28a3c..4b6bbf3 100644
--- a/src/include/gpopt/translate/CMappingColIdVarPlStmt.h
+++ b/src/include/gpopt/translate/CMappingColIdVarPlStmt.h
@@ -1,7 +1,23 @@
+/*
+ * 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.
+ */
+
 //---------------------------------------------------------------------------
-//	Greenplum Database
-//	Copyright (C) 2011 Greenplum, Inc.
-//
 //	@filename:
 //		CMappingColIdVarPlStmt.h
 //
@@ -9,9 +25,6 @@
 //		Class defining the functions that provide the mapping between Var, Param
 //		and variables of Sub-query to CDXLNode during Query->DXL translation
 //
-//	@owner:
-//		raghav
-//
 //	@test:
 //
 //

http://git-wip-us.apache.org/repos/asf/incubator-hawq/blob/bd126aa0/src/include/gpopt/translate/CMappingColIdVarQuery.h
----------------------------------------------------------------------
diff --git a/src/include/gpopt/translate/CMappingColIdVarQuery.h b/src/include/gpopt/translate/CMappingColIdVarQuery.h
index 7a53fe2..cbc9495 100644
--- a/src/include/gpopt/translate/CMappingColIdVarQuery.h
+++ b/src/include/gpopt/translate/CMappingColIdVarQuery.h
@@ -1,7 +1,23 @@
+/*
+ * 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.
+ */
+
 //---------------------------------------------------------------------------
-//	Greenplum Database
-//	Copyright (C) 2011 Greenplum, Inc.
-//
 //	@filename:
 //		CMappingColIdVarQuery.h
 //
@@ -9,9 +25,6 @@
 //		Class providing functions that provide the mapping between Var, Param
 //		and variables of Sub-query to CDXLNode during Query->DXL translation
 //
-//	@owner:
-//		raghav
-//
 //	@test:
 //
 //

http://git-wip-us.apache.org/repos/asf/incubator-hawq/blob/bd126aa0/src/include/gpopt/translate/CMappingElementColIdParamId.h
----------------------------------------------------------------------
diff --git a/src/include/gpopt/translate/CMappingElementColIdParamId.h b/src/include/gpopt/translate/CMappingElementColIdParamId.h
index 9364f46..f739bff 100644
--- a/src/include/gpopt/translate/CMappingElementColIdParamId.h
+++ b/src/include/gpopt/translate/CMappingElementColIdParamId.h
@@ -1,7 +1,23 @@
+/*
+ * 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.
+ */
+
 //---------------------------------------------------------------------------
-//	Greenplum Database
-//	Copyright (C) 2012 EMC Corp.
-//
 //	@filename:
 //		CMappingElementColIdParamId.h
 //
@@ -9,9 +25,6 @@
 //		Wrapper class providing functions for the mapping element between ColId
 //		and ParamId during DXL->PlStmt translation
 //
-//	@owner:
-//		elhela
-//
 //	@test:
 //
 //

http://git-wip-us.apache.org/repos/asf/incubator-hawq/blob/bd126aa0/src/include/gpopt/translate/CMappingElementColIdTE.h
----------------------------------------------------------------------
diff --git a/src/include/gpopt/translate/CMappingElementColIdTE.h b/src/include/gpopt/translate/CMappingElementColIdTE.h
index a4f9448..2b4d963 100644
--- a/src/include/gpopt/translate/CMappingElementColIdTE.h
+++ b/src/include/gpopt/translate/CMappingElementColIdTE.h
@@ -1,7 +1,23 @@
+/*
+ * 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.
+ */
+
 //---------------------------------------------------------------------------
-//	Greenplum Database
-//	Copyright (C) 2011 EMC Corp.
-//
 //	@filename:
 //		CMappingElementColIdTE.h
 //
@@ -9,9 +25,6 @@
 //		Wrapper class providing functions for the mapping element (between ColId and TE)
 //		during DXL->Query translation
 //
-//	@owner:
-//		raghav
-//
 //	@test:
 //
 //

http://git-wip-us.apache.org/repos/asf/incubator-hawq/blob/bd126aa0/src/include/gpopt/translate/CMappingParamIdScalarId.h
----------------------------------------------------------------------
diff --git a/src/include/gpopt/translate/CMappingParamIdScalarId.h b/src/include/gpopt/translate/CMappingParamIdScalarId.h
index 86c857f..0175e8e 100644
--- a/src/include/gpopt/translate/CMappingParamIdScalarId.h
+++ b/src/include/gpopt/translate/CMappingParamIdScalarId.h
@@ -1,16 +1,29 @@
+/*
+ * 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.
+ */
+
 //---------------------------------------------------------------------------
-//	Greenplum Database
-//	Copyright (C) 2012 EMC Corp.
-//
 //	@filename:
 //		CMappingParamIdScalarId.h
 //
 //	@doc:
 //		ParamId to ScalarId mapping during PlStmt->DXL translation
 //
-//	@owner:
-//		elhela
-//
 //	@test:
 //
 //

http://git-wip-us.apache.org/repos/asf/incubator-hawq/blob/bd126aa0/src/include/gpopt/translate/CMappingVarColId.h
----------------------------------------------------------------------
diff --git a/src/include/gpopt/translate/CMappingVarColId.h b/src/include/gpopt/translate/CMappingVarColId.h
index b9458c7..9fb5f01 100644
--- a/src/include/gpopt/translate/CMappingVarColId.h
+++ b/src/include/gpopt/translate/CMappingVarColId.h
@@ -1,7 +1,23 @@
+/*
+ * 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.
+ */
+
 //---------------------------------------------------------------------------
-//	Greenplum Database
-//	Copyright (C) 2011 Greenplum, Inc.
-//
 //	@filename:
 //		CMappingVarColId.h
 //
@@ -11,9 +27,6 @@
 //		we implement a variable mapping for PlStmt or Query respectively that
 //		is derived from this interface.
 //
-//	@owner:
-//		raghav
-//
 //	@test:
 //
 //

http://git-wip-us.apache.org/repos/asf/incubator-hawq/blob/bd126aa0/src/include/gpopt/translate/COptColInfo.h
----------------------------------------------------------------------
diff --git a/src/include/gpopt/translate/COptColInfo.h b/src/include/gpopt/translate/COptColInfo.h
index b0de8e6..2d65eaa 100644
--- a/src/include/gpopt/translate/COptColInfo.h
+++ b/src/include/gpopt/translate/COptColInfo.h
@@ -1,16 +1,29 @@
+/*
+ * 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.
+ */
+
 //---------------------------------------------------------------------------
-//	Greenplum Database
-//	Copyright (C) 2012 EMC Greenplum
-//
 //	@filename:
 //		COptColInfo.h
 //
 //	@doc:
 //		Class to uniquely identify a column in optimizer
 //
-//	@owner:
-//		raghav
-//
 //	@test:
 //
 //

http://git-wip-us.apache.org/repos/asf/incubator-hawq/blob/bd126aa0/src/include/gpopt/translate/CQueryMutators.h
----------------------------------------------------------------------
diff --git a/src/include/gpopt/translate/CQueryMutators.h b/src/include/gpopt/translate/CQueryMutators.h
index 74e9c97..f5bbd18 100644
--- a/src/include/gpopt/translate/CQueryMutators.h
+++ b/src/include/gpopt/translate/CQueryMutators.h
@@ -1,7 +1,23 @@
+/*
+ * 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.
+ */
+
 //---------------------------------------------------------------------------
-//	Greenplum Database
-//	Copyright (C) 2012 EMC Corp.
-//
 //	@filename:
 //		CQueryMutators.h
 //
@@ -9,9 +25,6 @@
 //		Class providing methods for translating a GPDB Query object into a
 //		DXL Tree
 //
-//	@owner:
-//		raghav
-//
 //	@test:
 //
 //