Skip to content

Commit

Permalink
Stamp 2.0.8.
Browse files Browse the repository at this point in the history
  • Loading branch information
jeevanchalke committed Jun 15, 2021
1 parent 02f8734 commit dad25b5
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 2 deletions.
7 changes: 7 additions & 0 deletions expected/misc.out
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,13 @@ CREATE SERVER hdfs_server FOREIGN DATA WRAPPER hdfs_fdw
OPTIONS(host :HIVE_SERVER, port :HIVE_PORT, client_type :HIVE_CLIENT_TYPE, auth_type :AUTH_TYPE);
CREATE USER MAPPING FOR public SERVER hdfs_server
OPTIONS (username :HIVE_USER, password :HIVE_PASSWORD);
-- Check version
SELECT hdfs_fdw_version();
hdfs_fdw_version
------------------
20008
(1 row)

CREATE FOREIGN TABLE dept (
deptno INTEGER,
dname VARCHAR(14),
Expand Down
4 changes: 2 additions & 2 deletions hdfs_fdw.c
Original file line number Diff line number Diff line change
Expand Up @@ -42,9 +42,9 @@ PG_MODULE_MAGIC;

/*
* In PG 9.5.1 the number will be 90501,
* our version is 2.0.7 so number will be 20007
* our version is 2.0.8 so number will be 20008
*/
#define CODE_VERSION 20007
#define CODE_VERSION 20008

typedef struct hdfsFdwExecutionState
{
Expand Down
3 changes: 3 additions & 0 deletions sql/misc.sql
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,9 @@ CREATE SERVER hdfs_server FOREIGN DATA WRAPPER hdfs_fdw
CREATE USER MAPPING FOR public SERVER hdfs_server
OPTIONS (username :HIVE_USER, password :HIVE_PASSWORD);

-- Check version
SELECT hdfs_fdw_version();

CREATE FOREIGN TABLE dept (
deptno INTEGER,
dname VARCHAR(14),
Expand Down

0 comments on commit dad25b5

Please sign in to comment.