Skip to content

Commit

Permalink
RM # 41812 : Correct expected output file for PG
Browse files Browse the repository at this point in the history
  • Loading branch information
gabbasb committed Dec 15, 2017
1 parent f752ff0 commit efc59da
Showing 1 changed file with 40 additions and 40 deletions.
80 changes: 40 additions & 40 deletions expected/datatype.out
Original file line number Diff line number Diff line change
Expand Up @@ -2126,20 +2126,20 @@ SERVER hdfs_server OPTIONS (dbname 'fdw_db', table_name 'emp_dt_mp1');
SELECT * FROM emp_fr16 ORDER BY empno;
empno | ename | job | mgr | hiredate | sal | comm | deptno
-------+--------+-----------+------+------------+------+---------+--------
7369 | SMITH | CLERK | 7902 | 17/12/1980 | 800 | 0 | 20
7499 | ALLEN | SALESMAN | 7698 | 20/02/1981 | 1600 | 300.1 | 30
7521 | WARD | SALESMAN | 7698 | 22/02/1981 | 1250 | 500 | 30
7566 | JONES | MANAGER | 7839 | 02/04/1981 | 2975 | 0 | 20
7369 | SMITH | CLERK | 7902 | 17/12/1980 | 800 | 0.00 | 20
7499 | ALLEN | SALESMAN | 7698 | 20/02/1981 | 1600 | 300.10 | 30
7521 | WARD | SALESMAN | 7698 | 22/02/1981 | 1250 | 500.00 | 30
7566 | JONES | MANAGER | 7839 | 02/04/1981 | 2975 | 0.00 | 20
7654 | MARTIN | SALESMAN | 7698 | 28/09/1981 | 1250 | 1400.34 | 30
7698 | BLAKE | MANAGER | 7839 | 01/05/1981 | 2850 | 0 | 30
7782 | CLARK | MANAGER | 7839 | 09/06/1981 | 2450 | 0 | 10
7788 | SCOTT | ANALYST | 7566 | 19/04/1987 | 3000 | 0 | 20
7839 | KING | PRESIDENT | | 17/11/1981 | 5000 | 0 | 10
7844 | TURNER | SALESMAN | 7698 | 08/09/1980 | 1500 | 0 | 30
7876 | ADAMS | CLERK | 7788 | 23/05/1987 | 1100 | 0 | 20
7900 | JAMES | CLERK | 7698 | 03/12/1981 | 950 | 0 | 30
7902 | FORD | ANALYST | 7566 | 03/12/1981 | 3000 | 0 | 20
7934 | MILLER | CLERK | 7782 | 23/01/1982 | 1300 | 0 | 10
7698 | BLAKE | MANAGER | 7839 | 01/05/1981 | 2850 | 0.00 | 30
7782 | CLARK | MANAGER | 7839 | 09/06/1981 | 2450 | 0.00 | 10
7788 | SCOTT | ANALYST | 7566 | 19/04/1987 | 3000 | 0.00 | 20
7839 | KING | PRESIDENT | | 17/11/1981 | 5000 | 0.00 | 10
7844 | TURNER | SALESMAN | 7698 | 08/09/1980 | 1500 | 0.00 | 30
7876 | ADAMS | CLERK | 7788 | 23/05/1987 | 1100 | 0.00 | 20
7900 | JAMES | CLERK | 7698 | 03/12/1981 | 950 | 0.00 | 30
7902 | FORD | ANALYST | 7566 | 03/12/1981 | 3000 | 0.00 | 20
7934 | MILLER | CLERK | 7782 | 23/01/1982 | 1300 | 0.00 | 10
(14 rows)

DROP FOREIGN TABLE emp_fr16;
Expand All @@ -2158,20 +2158,20 @@ SERVER hdfs_server OPTIONS (dbname 'fdw_db', table_name 'emp_dt_mp1');
SELECT * FROM emp_fr17 ORDER BY empno;
empno | ename | job | mgr | hiredate | sal | comm | deptno
-------+--------+-----------+------+------------+--------+---------+--------
7369 | SMITH | CLERK | 7902 | 17/12/1980 | 800.0 | 0 | 20
7499 | ALLEN | SALESMAN | 7698 | 20/02/1981 | 1600.0 | 300.1 | 30
7521 | WARD | SALESMAN | 7698 | 22/02/1981 | 1250.0 | 500 | 30
7566 | JONES | MANAGER | 7839 | 02/04/1981 | 2975.0 | 0 | 20
7369 | SMITH | CLERK | 7902 | 17/12/1980 | 800.0 | 0.00 | 20
7499 | ALLEN | SALESMAN | 7698 | 20/02/1981 | 1600.0 | 300.10 | 30
7521 | WARD | SALESMAN | 7698 | 22/02/1981 | 1250.0 | 500.00 | 30
7566 | JONES | MANAGER | 7839 | 02/04/1981 | 2975.0 | 0.00 | 20
7654 | MARTIN | SALESMAN | 7698 | 28/09/1981 | 1250.0 | 1400.34 | 30
7698 | BLAKE | MANAGER | 7839 | 01/05/1981 | 2850.0 | 0 | 30
7782 | CLARK | MANAGER | 7839 | 09/06/1981 | 2450.0 | 0 | 10
7788 | SCOTT | ANALYST | 7566 | 19/04/1987 | 3000.0 | 0 | 20
7839 | KING | PRESIDENT | | 17/11/1981 | 5000.0 | 0 | 10
7844 | TURNER | SALESMAN | 7698 | 08/09/1980 | 1500.0 | 0 | 30
7876 | ADAMS | CLERK | 7788 | 23/05/1987 | 1100.0 | 0 | 20
7900 | JAMES | CLERK | 7698 | 03/12/1981 | 950.0 | 0 | 30
7902 | FORD | ANALYST | 7566 | 03/12/1981 | 3000.0 | 0 | 20
7934 | MILLER | CLERK | 7782 | 23/01/1982 | 1300.0 | 0 | 10
7698 | BLAKE | MANAGER | 7839 | 01/05/1981 | 2850.0 | 0.00 | 30
7782 | CLARK | MANAGER | 7839 | 09/06/1981 | 2450.0 | 0.00 | 10
7788 | SCOTT | ANALYST | 7566 | 19/04/1987 | 3000.0 | 0.00 | 20
7839 | KING | PRESIDENT | | 17/11/1981 | 5000.0 | 0.00 | 10
7844 | TURNER | SALESMAN | 7698 | 08/09/1980 | 1500.0 | 0.00 | 30
7876 | ADAMS | CLERK | 7788 | 23/05/1987 | 1100.0 | 0.00 | 20
7900 | JAMES | CLERK | 7698 | 03/12/1981 | 950.0 | 0.00 | 30
7902 | FORD | ANALYST | 7566 | 03/12/1981 | 3000.0 | 0.00 | 20
7934 | MILLER | CLERK | 7782 | 23/01/1982 | 1300.0 | 0.00 | 10
(14 rows)

DROP FOREIGN TABLE emp_fr17;
Expand All @@ -2190,20 +2190,20 @@ SERVER hdfs_server OPTIONS (dbname 'fdw_db', table_name 'emp_dt_mp1');
SELECT * FROM emp_fr18 ORDER BY empno;
empno | ename | job | mgr | hiredate | sal | comm | deptno
-------+--------+-----------+------+------------+--------+---------+--------
7369 | SMITH | CLERK | 7902 | 17/12/1980 | 800.0 | 0 | 20
7499 | ALLEN | SALESMAN | 7698 | 20/02/1981 | 1600.0 | 300.1 | 30
7521 | WARD | SALESMAN | 7698 | 22/02/1981 | 1250.0 | 500 | 30
7566 | JONES | MANAGER | 7839 | 02/04/1981 | 2975.0 | 0 | 20
7369 | SMITH | CLERK | 7902 | 17/12/1980 | 800.0 | 0.00 | 20
7499 | ALLEN | SALESMAN | 7698 | 20/02/1981 | 1600.0 | 300.10 | 30
7521 | WARD | SALESMAN | 7698 | 22/02/1981 | 1250.0 | 500.00 | 30
7566 | JONES | MANAGER | 7839 | 02/04/1981 | 2975.0 | 0.00 | 20
7654 | MARTIN | SALESMAN | 7698 | 28/09/1981 | 1250.0 | 1400.34 | 30
7698 | BLAKE | MANAGER | 7839 | 01/05/1981 | 2850.0 | 0 | 30
7782 | CLARK | MANAGER | 7839 | 09/06/1981 | 2450.0 | 0 | 10
7788 | SCOTT | ANALYST | 7566 | 19/04/1987 | 3000.0 | 0 | 20
7839 | KING | PRESIDENT | | 17/11/1981 | 5000.0 | 0 | 10
7844 | TURNER | SALESMAN | 7698 | 08/09/1980 | 1500.0 | 0 | 30
7876 | ADAMS | CLERK | 7788 | 23/05/1987 | 1100.0 | 0 | 20
7900 | JAMES | CLERK | 7698 | 03/12/1981 | 950.0 | 0 | 30
7902 | FORD | ANALYST | 7566 | 03/12/1981 | 3000.0 | 0 | 20
7934 | MILLER | CLERK | 7782 | 23/01/1982 | 1300.0 | 0 | 10
7698 | BLAKE | MANAGER | 7839 | 01/05/1981 | 2850.0 | 0.00 | 30
7782 | CLARK | MANAGER | 7839 | 09/06/1981 | 2450.0 | 0.00 | 10
7788 | SCOTT | ANALYST | 7566 | 19/04/1987 | 3000.0 | 0.00 | 20
7839 | KING | PRESIDENT | | 17/11/1981 | 5000.0 | 0.00 | 10
7844 | TURNER | SALESMAN | 7698 | 08/09/1980 | 1500.0 | 0.00 | 30
7876 | ADAMS | CLERK | 7788 | 23/05/1987 | 1100.0 | 0.00 | 20
7900 | JAMES | CLERK | 7698 | 03/12/1981 | 950.0 | 0.00 | 30
7902 | FORD | ANALYST | 7566 | 03/12/1981 | 3000.0 | 0.00 | 20
7934 | MILLER | CLERK | 7782 | 23/01/1982 | 1300.0 | 0.00 | 10
(14 rows)

DROP FOREIGN TABLE emp_fr18;
Expand Down Expand Up @@ -2537,7 +2537,7 @@ CREATE FOREIGN TABLE emp_dt_bg1 (
)
SERVER hdfs_server OPTIONS (dbname 'fdw_db', table_name 'emp_dt_mp1');
SELECT * FROM emp_dt_bg1 ORDER BY empno;
ERROR: invalid input syntax for integer: "300.1"
ERROR: invalid input syntax for integer: "0.00"
DROP FOREIGN TABLE emp_dt_bg1;
--===================================================================================
-- PG Supported Datatypes
Expand Down

0 comments on commit efc59da

Please sign in to comment.