Repository: hawq
Updated Branches:
refs/heads/master 75977f8b7 -> 37c7a22a2
HAWQ-1671. Add compile support for orc formatter and wrapper
Changed Makefile in contrib/orc
Add folder format and cwrapper for split compilation
Add dummy code for testing the Makefile
Project: http://git-wip-us.apache.org/repos/asf/hawq/repo
Commit: http://git-wip-us.apache.org/repos/asf/hawq/commit/37c7a22a
Tree: http://git-wip-us.apache.org/repos/asf/hawq/tree/37c7a22a
Diff: http://git-wip-us.apache.org/repos/asf/hawq/diff/37c7a22a
Branch: refs/heads/master
Commit: 37c7a22a20aace6b171e62d8a20d11063ab0f6e1
Parents: 75977f8
Author: ion2014 <[email protected]>
Authored: Thu Nov 8 15:27:36 2018 +0800
Committer: Ruilong Huo <[email protected]>
Committed: Thu Nov 8 23:16:46 2018 +0800
----------------------------------------------------------------------
contrib/orc/Makefile | 2 +-
contrib/orc/cwrapper/cwrapper.c | 18 ++++++++++++++++++
contrib/orc/format/orc_format.c | 18 ++++++++++++++++++
3 files changed, 37 insertions(+), 1 deletion(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/hawq/blob/37c7a22a/contrib/orc/Makefile
----------------------------------------------------------------------
diff --git a/contrib/orc/Makefile b/contrib/orc/Makefile
index f793f48..fb6854a 100644
--- a/contrib/orc/Makefile
+++ b/contrib/orc/Makefile
@@ -16,7 +16,7 @@
# under the License.
#
MODULE_big = orc
-OBJS = orc.o
+OBJS = cwrapper/cwrapper.o format/orc_format.o orc.o
PG_CPPFLAGS = -I$(libpq_srcdir)
PG_LIBS = $(libpq_pgport)
http://git-wip-us.apache.org/repos/asf/hawq/blob/37c7a22a/contrib/orc/cwrapper/cwrapper.c
----------------------------------------------------------------------
diff --git a/contrib/orc/cwrapper/cwrapper.c b/contrib/orc/cwrapper/cwrapper.c
new file mode 100644
index 0000000..7220975
--- /dev/null
+++ b/contrib/orc/cwrapper/cwrapper.c
@@ -0,0 +1,18 @@
+/*
+ * 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.
+ */
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/hawq/blob/37c7a22a/contrib/orc/format/orc_format.c
----------------------------------------------------------------------
diff --git a/contrib/orc/format/orc_format.c b/contrib/orc/format/orc_format.c
new file mode 100644
index 0000000..7220975
--- /dev/null
+++ b/contrib/orc/format/orc_format.c
@@ -0,0 +1,18 @@
+/*
+ * 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.
+ */
\ No newline at end of file