forked from greenplum-db/pxf-archive
-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #20 from arenadata/6.3.1-sync
ADBDEV-2799 6.3.1 sync
- Loading branch information
Showing
74 changed files
with
1,180 additions
and
465 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -27,7 +27,7 @@ all: external-table cli server | |
external-table: | ||
make -C external-table | ||
|
||
fwd: | ||
fdw: | ||
make -C fdw | ||
|
||
cli: | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
10 changes: 10 additions & 0 deletions
10
automation/src/test/resources/data/hive/hive_types_all_columns_repeating.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
col1,col2,1,6,1.23456,7.7,23456789,false,1,10,2015-03-06,abcd,abc,1 | ||
col1,col2,1,6,1.23456,7.7,23456789,false,1,10,2015-03-06,abcd,abc,1 | ||
col1,col2,1,6,1.23456,7.7,23456789,false,1,10,2015-03-06,abcd,abc,1 | ||
col1,col2,1,6,1.23456,7.7,23456789,false,1,10,2015-03-06,abcd,abc,1 | ||
col1,col2,1,6,1.23456,7.7,23456789,false,1,10,2015-03-06,abcd,abc,1 | ||
col1,col2,1,6,1.23456,7.7,23456789,false,1,10,2015-03-06,abcd,abc,1 | ||
col1,col2,1,6,1.23456,7.7,23456789,false,1,10,2015-03-06,abcd,abc,1 | ||
col1,col2,1,6,1.23456,7.7,23456789,false,1,10,2015-03-06,abcd,abc,1 | ||
col1,col2,1,6,1.23456,7.7,23456789,false,1,10,2015-03-06,abcd,abc,1 | ||
col1,col2,1,6,1.23456,7.7,23456789,false,1,10,2015-03-06,abcd,abc,1 |
10 changes: 10 additions & 0 deletions
10
automation/src/test/resources/data/hive/hive_types_all_columns_repeating_nulls.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
\N,\N,\N,\N,\N,\N,\N,\N,\N,\N,\N,\N,\N,\N | ||
\N,\N,\N,\N,\N,\N,\N,\N,\N,\N,\N,\N,\N,\N | ||
\N,\N,\N,\N,\N,\N,\N,\N,\N,\N,\N,\N,\N,\N | ||
\N,\N,\N,\N,\N,\N,\N,\N,\N,\N,\N,\N,\N,\N | ||
\N,\N,\N,\N,\N,\N,\N,\N,\N,\N,\N,\N,\N,\N | ||
\N,\N,\N,\N,\N,\N,\N,\N,\N,\N,\N,\N,\N,\N | ||
\N,\N,\N,\N,\N,\N,\N,\N,\N,\N,\N,\N,\N,\N | ||
\N,\N,\N,\N,\N,\N,\N,\N,\N,\N,\N,\N,\N,\N | ||
\N,\N,\N,\N,\N,\N,\N,\N,\N,\N,\N,\N,\N,\N | ||
\N,\N,\N,\N,\N,\N,\N,\N,\N,\N,\N,\N,\N,\N |
Empty file.
86 changes: 86 additions & 0 deletions
86
automation/tincrepo/main/pxf/features/hive/orc_repeating/expected/query01.ans
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,86 @@ | ||
-- start_ignore | ||
-- end_ignore | ||
-- @description query01 for PXF Hive ORC vectorized with repeating data cases | ||
\pset null 'NIL' | ||
Null display is "NIL". | ||
\d pxf_hivevectorizedorc_repeating_no_nulls | ||
External table "public.pxf_hivevectorizedorc_repeating_no_nulls" | ||
Column | Type | Modifiers | ||
--------+----------------------+----------- | ||
t1 | text | | ||
t2 | text | | ||
num1 | integer | | ||
dub1 | double precision | | ||
dec1 | numeric | | ||
r | real | | ||
bg | bigint | | ||
b | boolean | | ||
tn | smallint | | ||
sml | smallint | | ||
dt | date | | ||
vc1 | character varying(5) | | ||
c1 | character(3) | | ||
bin | bytea | | ||
Type: readable | ||
Encoding: UTF8 | ||
Format type: custom | ||
Format options: formatter 'pxfwritable_import' | ||
External options: {} | ||
External location: pxf://hive_types_all_columns_repeating_no_nulls_orc?PROFILE=HiveVectorizedORC | ||
Execute on: all segments | ||
|
||
SELECT * FROM pxf_hivevectorizedorc_repeating_no_nulls ORDER BY t1; | ||
t1 | t2 | num1 | dub1 | dec1 | r | bg | b | tn | sml | dt | vc1 | c1 | bin | ||
------+------+------+------+---------+-----+----------+---+----+-----+------------+------+-----+----- | ||
col1 | col2 | 1 | 6 | 1.23456 | 7.7 | 23456789 | f | 1 | 10 | 2015-03-06 | abcd | abc | 1 | ||
col1 | col2 | 1 | 6 | 1.23456 | 7.7 | 23456789 | f | 1 | 10 | 2015-03-06 | abcd | abc | 1 | ||
col1 | col2 | 1 | 6 | 1.23456 | 7.7 | 23456789 | f | 1 | 10 | 2015-03-06 | abcd | abc | 1 | ||
col1 | col2 | 1 | 6 | 1.23456 | 7.7 | 23456789 | f | 1 | 10 | 2015-03-06 | abcd | abc | 1 | ||
col1 | col2 | 1 | 6 | 1.23456 | 7.7 | 23456789 | f | 1 | 10 | 2015-03-06 | abcd | abc | 1 | ||
col1 | col2 | 1 | 6 | 1.23456 | 7.7 | 23456789 | f | 1 | 10 | 2015-03-06 | abcd | abc | 1 | ||
col1 | col2 | 1 | 6 | 1.23456 | 7.7 | 23456789 | f | 1 | 10 | 2015-03-06 | abcd | abc | 1 | ||
col1 | col2 | 1 | 6 | 1.23456 | 7.7 | 23456789 | f | 1 | 10 | 2015-03-06 | abcd | abc | 1 | ||
col1 | col2 | 1 | 6 | 1.23456 | 7.7 | 23456789 | f | 1 | 10 | 2015-03-06 | abcd | abc | 1 | ||
col1 | col2 | 1 | 6 | 1.23456 | 7.7 | 23456789 | f | 1 | 10 | 2015-03-06 | abcd | abc | 1 | ||
(10 rows) | ||
|
||
\d pxf_hivevectorizedorc_repeating_nulls | ||
External table "public.pxf_hivevectorizedorc_repeating_nulls" | ||
Column | Type | Modifiers | ||
--------+----------------------+----------- | ||
t1 | text | | ||
t2 | text | | ||
num1 | integer | | ||
dub1 | double precision | | ||
dec1 | numeric | | ||
r | real | | ||
bg | bigint | | ||
b | boolean | | ||
tn | smallint | | ||
sml | smallint | | ||
dt | date | | ||
vc1 | character varying(5) | | ||
c1 | character(3) | | ||
bin | bytea | | ||
Type: readable | ||
Encoding: UTF8 | ||
Format type: custom | ||
Format options: formatter 'pxfwritable_import' | ||
External options: {} | ||
External location: pxf://hive_types_all_columns_repeating_nulls_orc?PROFILE=HiveVectorizedORC | ||
Execute on: all segments | ||
|
||
SELECT * FROM pxf_hivevectorizedorc_repeating_nulls ORDER BY t1; | ||
t1 | t2 | num1 | dub1 | dec1 | r | bg | b | tn | sml | dt | vc1 | c1 | bin | ||
-----+-----+------+------+------+-----+-----+-----+-----+-----+-----+-----+-----+----- | ||
NIL | NIL | NIL | NIL | NIL | NIL | NIL | NIL | NIL | NIL | NIL | NIL | NIL | NIL | ||
NIL | NIL | NIL | NIL | NIL | NIL | NIL | NIL | NIL | NIL | NIL | NIL | NIL | NIL | ||
NIL | NIL | NIL | NIL | NIL | NIL | NIL | NIL | NIL | NIL | NIL | NIL | NIL | NIL | ||
NIL | NIL | NIL | NIL | NIL | NIL | NIL | NIL | NIL | NIL | NIL | NIL | NIL | NIL | ||
NIL | NIL | NIL | NIL | NIL | NIL | NIL | NIL | NIL | NIL | NIL | NIL | NIL | NIL | ||
NIL | NIL | NIL | NIL | NIL | NIL | NIL | NIL | NIL | NIL | NIL | NIL | NIL | NIL | ||
NIL | NIL | NIL | NIL | NIL | NIL | NIL | NIL | NIL | NIL | NIL | NIL | NIL | NIL | ||
NIL | NIL | NIL | NIL | NIL | NIL | NIL | NIL | NIL | NIL | NIL | NIL | NIL | NIL | ||
NIL | NIL | NIL | NIL | NIL | NIL | NIL | NIL | NIL | NIL | NIL | NIL | NIL | NIL | ||
NIL | NIL | NIL | NIL | NIL | NIL | NIL | NIL | NIL | NIL | NIL | NIL | NIL | NIL | ||
(10 rows) |
86 changes: 86 additions & 0 deletions
86
automation/tincrepo/main/pxf/features/hive/orc_repeating/expected/query02.ans
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,86 @@ | ||
-- start_ignore | ||
-- end_ignore | ||
-- @description query01 for PXF Hive ORC vectorized with repeating data cases | ||
\pset null 'NIL' | ||
Null display is "NIL". | ||
\d pxf_hive_orc_vectorize_repeating_no_nulls | ||
External table "public.pxf_hive_orc_vectorize_repeating_no_nulls" | ||
Column | Type | Modifiers | ||
--------+----------------------+----------- | ||
t1 | text | | ||
t2 | text | | ||
num1 | integer | | ||
dub1 | double precision | | ||
dec1 | numeric | | ||
r | real | | ||
bg | bigint | | ||
b | boolean | | ||
tn | smallint | | ||
sml | smallint | | ||
dt | date | | ||
vc1 | character varying(5) | | ||
c1 | character(3) | | ||
bin | bytea | | ||
Type: readable | ||
Encoding: UTF8 | ||
Format type: custom | ||
Format options: formatter 'pxfwritable_import' | ||
External options: {} | ||
External location: pxf://hive_types_all_columns_repeating_no_nulls_orc?PROFILE=hive:orc&VECTORIZE=true | ||
Execute on: all segments | ||
|
||
SELECT * FROM pxf_hive_orc_vectorize_repeating_no_nulls ORDER BY t1; | ||
t1 | t2 | num1 | dub1 | dec1 | r | bg | b | tn | sml | dt | vc1 | c1 | bin | ||
------+------+------+------+---------+-----+----------+---+----+-----+------------+------+-----+----- | ||
col1 | col2 | 1 | 6 | 1.23456 | 7.7 | 23456789 | f | 1 | 10 | 2015-03-06 | abcd | abc | 1 | ||
col1 | col2 | 1 | 6 | 1.23456 | 7.7 | 23456789 | f | 1 | 10 | 2015-03-06 | abcd | abc | 1 | ||
col1 | col2 | 1 | 6 | 1.23456 | 7.7 | 23456789 | f | 1 | 10 | 2015-03-06 | abcd | abc | 1 | ||
col1 | col2 | 1 | 6 | 1.23456 | 7.7 | 23456789 | f | 1 | 10 | 2015-03-06 | abcd | abc | 1 | ||
col1 | col2 | 1 | 6 | 1.23456 | 7.7 | 23456789 | f | 1 | 10 | 2015-03-06 | abcd | abc | 1 | ||
col1 | col2 | 1 | 6 | 1.23456 | 7.7 | 23456789 | f | 1 | 10 | 2015-03-06 | abcd | abc | 1 | ||
col1 | col2 | 1 | 6 | 1.23456 | 7.7 | 23456789 | f | 1 | 10 | 2015-03-06 | abcd | abc | 1 | ||
col1 | col2 | 1 | 6 | 1.23456 | 7.7 | 23456789 | f | 1 | 10 | 2015-03-06 | abcd | abc | 1 | ||
col1 | col2 | 1 | 6 | 1.23456 | 7.7 | 23456789 | f | 1 | 10 | 2015-03-06 | abcd | abc | 1 | ||
col1 | col2 | 1 | 6 | 1.23456 | 7.7 | 23456789 | f | 1 | 10 | 2015-03-06 | abcd | abc | 1 | ||
(10 rows) | ||
|
||
\d pxf_hive_orc_vectorize_repeating_nulls | ||
External table "public.pxf_hive_orc_vectorize_repeating_nulls" | ||
Column | Type | Modifiers | ||
--------+----------------------+----------- | ||
t1 | text | | ||
t2 | text | | ||
num1 | integer | | ||
dub1 | double precision | | ||
dec1 | numeric | | ||
r | real | | ||
bg | bigint | | ||
b | boolean | | ||
tn | smallint | | ||
sml | smallint | | ||
dt | date | | ||
vc1 | character varying(5) | | ||
c1 | character(3) | | ||
bin | bytea | | ||
Type: readable | ||
Encoding: UTF8 | ||
Format type: custom | ||
Format options: formatter 'pxfwritable_import' | ||
External options: {} | ||
External location: pxf://hive_types_all_columns_repeating_nulls_orc?PROFILE=hive:orc&VECTORIZE=true | ||
Execute on: all segments | ||
|
||
SELECT * FROM pxf_hive_orc_vectorize_repeating_nulls ORDER BY t1; | ||
t1 | t2 | num1 | dub1 | dec1 | r | bg | b | tn | sml | dt | vc1 | c1 | bin | ||
-----+-----+------+------+------+-----+-----+-----+-----+-----+-----+-----+-----+----- | ||
NIL | NIL | NIL | NIL | NIL | NIL | NIL | NIL | NIL | NIL | NIL | NIL | NIL | NIL | ||
NIL | NIL | NIL | NIL | NIL | NIL | NIL | NIL | NIL | NIL | NIL | NIL | NIL | NIL | ||
NIL | NIL | NIL | NIL | NIL | NIL | NIL | NIL | NIL | NIL | NIL | NIL | NIL | NIL | ||
NIL | NIL | NIL | NIL | NIL | NIL | NIL | NIL | NIL | NIL | NIL | NIL | NIL | NIL | ||
NIL | NIL | NIL | NIL | NIL | NIL | NIL | NIL | NIL | NIL | NIL | NIL | NIL | NIL | ||
NIL | NIL | NIL | NIL | NIL | NIL | NIL | NIL | NIL | NIL | NIL | NIL | NIL | NIL | ||
NIL | NIL | NIL | NIL | NIL | NIL | NIL | NIL | NIL | NIL | NIL | NIL | NIL | NIL | ||
NIL | NIL | NIL | NIL | NIL | NIL | NIL | NIL | NIL | NIL | NIL | NIL | NIL | NIL | ||
NIL | NIL | NIL | NIL | NIL | NIL | NIL | NIL | NIL | NIL | NIL | NIL | NIL | NIL | ||
NIL | NIL | NIL | NIL | NIL | NIL | NIL | NIL | NIL | NIL | NIL | NIL | NIL | NIL | ||
(10 rows) |
Oops, something went wrong.