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

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


The following commit(s) were added to refs/heads/master by this push:
     new 437047a  HAWQ-1709. Add ORC reader interface in hawq
437047a is described below

commit 437047ac8eb05959fd6887459d8d6f20b6d253e6
Author: oushu1tuyu1 <[email protected]>
AuthorDate: Sun Apr 28 18:31:31 2019 +0800

    HAWQ-1709. Add ORC reader interface in hawq
---
 contrib/orc/orc.c | 32 ++++++++++++++++++++++----------
 1 file changed, 22 insertions(+), 10 deletions(-)

diff --git a/contrib/orc/orc.c b/contrib/orc/orc.c
index 8dbc1c1..0d03813 100644
--- a/contrib/orc/orc.c
+++ b/contrib/orc/orc.c
@@ -47,20 +47,32 @@ PG_FUNCTION_INFO_V1(orc_validate_encodings);
 PG_FUNCTION_INFO_V1(orc_validate_datatypes);
 
 /* Accessors for pluggable storage format ORC */
+PG_FUNCTION_INFO_V1(orc_beginscan);
+PG_FUNCTION_INFO_V1(orc_getnext_init);
+PG_FUNCTION_INFO_V1(orc_getnext);
+PG_FUNCTION_INFO_V1(orc_rescan);
+PG_FUNCTION_INFO_V1(orc_endscan);
+PG_FUNCTION_INFO_V1(orc_stopscan);
 PG_FUNCTION_INFO_V1(orc_insert_init);
 PG_FUNCTION_INFO_V1(orc_insert);
 PG_FUNCTION_INFO_V1(orc_insert_finish);
 
-///* Definitions of validators for pluggable storage format ORC */
-//Datum orc_validate_interfaces(PG_FUNCTION_ARGS);
-//Datum orc_validate_options(PG_FUNCTION_ARGS);
-//Datum orc_validate_encodings(PG_FUNCTION_ARGS);
-//Datum orc_validate_datatypes(PG_FUNCTION_ARGS);
-//
-///* Definitions of accessors for pluggable storage format ORC */
-//Datum orc_insert_init(PG_FUNCTION_ARGS);
-//Datum orc_insert(PG_FUNCTION_ARGS);
-//Datum orc_insert_finish(PG_FUNCTION_ARGS);
+/* Definitions of validators for pluggable storage format ORC */
+Datum orc_validate_interfaces(PG_FUNCTION_ARGS);
+Datum orc_validate_options(PG_FUNCTION_ARGS);
+Datum orc_validate_encodings(PG_FUNCTION_ARGS);
+Datum orc_validate_datatypes(PG_FUNCTION_ARGS);
+
+/* Definitions of accessors for pluggable storage format ORC */
+Datum orc_beginscan(PG_FUNCTION_ARGS);
+Datum orc_getnext_init(PG_FUNCTION_ARGS);
+Datum orc_getnext(PG_FUNCTION_ARGS);
+Datum orc_rescan(PG_FUNCTION_ARGS);
+Datum orc_endscan(PG_FUNCTION_ARGS);
+Datum orc_stopscan(PG_FUNCTION_ARGS);
+Datum orc_insert_init(PG_FUNCTION_ARGS);
+Datum orc_insert(PG_FUNCTION_ARGS);
+Datum orc_insert_finish(PG_FUNCTION_ARGS);
 
 typedef struct
 {

Reply via email to