Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
378 commits
Select commit Hold shift + click to select a range
efbf146
Op: Refactor PaxEncodingColumn and PaxNonFixedEncodingColumn
jiaqizho Oct 31, 2023
f7cc7ec
PAX: Fix CI submodule can't pull
jiaqizho Oct 31, 2023
20f8184
Save and validate opfamily instead of oids of compare functions
gfphoenix78 Oct 25, 2023
d0ed95e
Feature: storage type orc_vec support pg executor
jiaqizho Nov 1, 2023
39eae7f
PAX: Add base partition support functions
Nov 1, 2023
fe27d83
Feature: filter support AND oper which not been flatten
jiaqizho Nov 3, 2023
d3edfc0
Refactor ItemPointerData to use index for offline
gfphoenix78 Oct 30, 2023
38de4b8
Fix: group offset not right
jiaqizho Nov 3, 2023
ec50286
Fix: use new item ptr to build vec ctid
jiaqizho Nov 3, 2023
f38fcde
Feature: TableParitionWriter support parition reloption
jiaqizho Nov 3, 2023
0544c59
Feature: support GetTuple interface to direct get tuple
jiaqizho Nov 8, 2023
43c8b3e
Generate file name by fast-sequence to support index
Nov 8, 2023
77b472c
PAX: Add support for index build and scan
Nov 9, 2023
c936631
Feature: support resowner to manage fd
jiaqizho Nov 10, 2023
5747396
Fix: VEC format no need do align in non-fixed column
jiaqizho Nov 10, 2023
1d68886
Fix: group stats is not right after merge
jiaqizho Nov 15, 2023
a42b452
Feature: catch pg error when long jump happend
jiaqizho Nov 17, 2023
737429e
PAX: Allow empty columns in PAX table
jiaqizho Nov 17, 2023
d6c2d73
PAX: Use the correctness flags when open file
gongxun0928 Nov 21, 2023
ec8d8c7
PAX: Implement index_unique_check
Nov 22, 2023
b8939e1
PAX: Add regress test
Nov 23, 2023
964f84c
Fix: missing attrno in row filter reader
jiaqizho Nov 29, 2023
07698e2
PAX: Fix compile error
gfphoenix78 Nov 24, 2023
69877e0
Fix: Invalid read in MergeGroup
jiaqizho Dec 8, 2023
3368382
Fix: RUNPATH in the so file
Dec 15, 2023
79d4338
Fix compile error in release mode
gongxun0928 Dec 20, 2023
9f30189
Move pg_pax_tables from kernel to pax
Dec 28, 2023
a634514
Update the signature of TransformColumnEncodingClauses
gfphoenix78 Dec 28, 2023
40944b7
Move PAX repo
my-ship-it Jan 3, 2024
e9d3130
Op: cleanup some of pax tests, replace with the same function
jiaqizho Jan 8, 2024
013f59a
PAX: Always create index for auxiliary relation
gfphoenix78 Jan 5, 2024
81e9c0e
Dynamic reuse_buffer size
gongxun0928 Jan 11, 2024
c54430d
PAX: Build pax_storage as an internal extension by default
Jan 12, 2024
682ee65
Pax re-enable vectorization build
jiaqizho Jan 12, 2024
d590d89
PAX: Compile pax with vectorization only if the kernel builds vectori…
gfphoenix78 Jan 12, 2024
25a4b30
Feature: Introduce pax_dump to dump single pax file
jiaqizho Jan 15, 2024
7c2c334
PAX: Add google benchmark
gongxun0928 Jan 15, 2024
ecf67e1
bugfix: fix the error when hashdata cloud work with paxformat
gongxun0928 Jan 15, 2024
afc7fea
Feature: pax FD resource owner supports concurrent reading and writing
jiaqizho Jan 22, 2024
2d29fa5
Feature: implementing part of PG min/max operator in PAX
jiaqizho Jan 24, 2024
021753a
Use dynamic link library instead of static compilation
gongxun0928 Jan 24, 2024
c88a3d7
PAX: Add PAX_NEW/PAX_DELETE to replace global new/delete operator
Jan 25, 2024
d53c670
Pax/remove zstd submodule
gongxun0928 Jan 26, 2024
077b9e5
Feature: use stripe stats instead of repeated mix/max update operations
jiaqizho Jan 29, 2024
4d7dbf0
Pax build type follow lighting pipeline
jiaqizho Jan 29, 2024
f6bb837
Pax: Remove the struct CTupleSlot
jiaqizho Jan 30, 2024
91e4b01
PAX: both build pax.so and paxformat.so
gongxun0928 Jan 30, 2024
c598feb
PAX: Reduct get relation path function call times
jiaqizho Feb 21, 2024
067956a
PAX: Rename the namespace of orc proto objects
gfphoenix78 Feb 23, 2024
d341926
Fix: install the libpax.so, libpaxformat.so, and headers into ${prefix}
lss602726449 Feb 2, 2024
8dd3986
Enable local index by default and remove the else code
Feb 24, 2024
03a20a9
PAX: Add new guc pax.enable_filter
gfphoenix78 Feb 23, 2024
60e0788
PAX: Use macro SO_TYPE_VECTOR instead of hard-coded value
gfphoenix78 Feb 23, 2024
a138927
Fix struct layout of PaxIndexScanDesc
gfphoenix78 Feb 24, 2024
3b1b898
PAX: Limit the maximum number of concurrent jobs to 8
gfphoenix78 Feb 26, 2024
0877638
Pax: Avoid stack overflow when reading footer
gongxun0928 Feb 27, 2024
d3a9a87
Fix: delete pax_itemptr.cc in build libpaxformat.so
lss602726449 Feb 27, 2024
7ffd8df
PAX: Fix guc name to not contain dot
Feb 28, 2024
9692907
Pax: Add regression tests
Feb 29, 2024
37c2096
PAX: Add a configure option to build pax optionally.
Mar 1, 2024
1be8002
Fix: toast will make pax operators not work
jiaqizho Mar 1, 2024
814d1af
PAX: Fix guc issue that needs to sync pax_scan_reuse_buffer_size
gfphoenix78 Mar 1, 2024
a4e8d64
Fix: alter PAX table will got cast problem
jiaqizho Mar 5, 2024
2136cfe
Op: Make the functions in DataBuffer inline
jiaqizho Mar 5, 2024
6832af2
Fix: pax object access hook assert false
jiaqizho Mar 6, 2024
7f1b13d
Fix: pax group footer will not reocrd compress level
jiaqizho Mar 6, 2024
2ec1420
performance: length_stream changes from int64 type to int32 type
gongxun0928 Mar 7, 2024
16f677d
Fix: pax operator without set null field also should not assert unimp…
jiaqizho Mar 7, 2024
c6100ac
Add ExecClearTuple before read or fetch index tuple
jiaqizho Mar 8, 2024
dfbab71
Pax: add MicroPartitionWriter merging logic back to optimize performance
jiaqizho Mar 12, 2024
f64e542
Fix: pax broken gtest and add it into CI
jiaqizho Mar 5, 2024
ddc60e7
Feature: pax store the vec-format decimal128
jiaqizho Mar 19, 2024
a7591ee
Fix: pax got nullptr in table writer when exception happen
jiaqizho Mar 19, 2024
5299741
bugfix: Pax storage format fixes incorrect mapping of pg timestamp/ti…
gongxun0928 Mar 19, 2024
78535f1
Fix: pax fast sequence will lost when swap table happen
jiaqizho Mar 19, 2024
26b42ec
Fix: the index in pax aux table should be same as aux table
jiaqizho Mar 20, 2024
3cacd06
Fix: fix pax-storage make install will compile again
lss602726449 Mar 21, 2024
d98046e
PAX: check the value of gp_interconnect_queue_depth and warning if it…
gongxun0928 Mar 21, 2024
27a1102
bugfix: check resource owner in FdHandleAbortCallback
gongxun0928 Mar 25, 2024
a4061dd
Fix: pax cluster index will make aux table invisible
jiaqizho Mar 29, 2024
f0d6f32
Fix: PAX split by file size does not calculate the written sizes
jiaqizho Apr 1, 2024
f88fd68
Enable pg statistics in pax
jiaqizho Apr 1, 2024
edae39f
PAX: Fix null test for all columns
gfphoenix78 Mar 29, 2024
519174f
Fix: PAX will cache the wrong text locale
jiaqizho Apr 2, 2024
c3c577f
Pax change the default file split strategy to guc
jiaqizho Apr 2, 2024
4b7fc7c
Bugfix: fix incorrect micro partition file skip logic
gongxun0928 Apr 7, 2024
7900910
Fix: pax custom object support some of event_trigger callback
jiaqizho Apr 7, 2024
4848124
Fix: PAX numeric vec format memory leak
jiaqizho Mar 28, 2024
b8cb633
PAX:optimize queries with large wide tables
gongxun0928 Apr 8, 2024
2fbbfef
PAX: paxformat supports vectorized scan operators
gongxun0928 Apr 8, 2024
0c3cfb2
Use scan_flags to indicate whether the table AM support vectorization
Apr 9, 2024
7e23c9e
PAX: Preload pax extension and sync some GUCs
gfphoenix78 Mar 4, 2024
83ea6d5
PAX: doesn't support non-btree index
gfphoenix78 Apr 10, 2024
8dedec1
Fix: PAX format need build CTID
jiaqizho Apr 15, 2024
599c601
Fix: the projection in orc group not right
jiaqizho Apr 15, 2024
7bd880c
Fix: new add column may cause array bounds violation
jiaqizho Apr 15, 2024
717f857
Fix: pax update table with dropped column return not-null tuple
jiaqizho Apr 15, 2024
c0c2546
PAX support bpchar type vectorization build
jiaqizho Apr 15, 2024
57b8aab
bugfix: pax filter does not filter NaN values correctly
gongxun0928 Apr 15, 2024
8970187
Pax: RelationCopyData need do pending delete
jiaqizho Apr 16, 2024
418e6c5
feature: skip read the column which is all null
gongxun0928 Apr 16, 2024
46d930b
PAX: Rename orc to porc
Apr 17, 2024
9711e77
pax: port regress tests to pax
jiaqizho Mar 6, 2024
7acc8a8
Fix: parallel_schedule pg optimizer test cases
jiaqizho Mar 18, 2024
c3aae76
Fix: fd handle owner ans some of test cases
gongxun0928 Mar 20, 2024
82ba19c
Fix: parallel_schedule ORCA test cases
jiaqizho Apr 1, 2024
33bfe8c
PAX: add single CI to run icw and icw-orca with access method PAX
jiaqizho Apr 15, 2024
2fc1efb
PAX: Add bitpacked column for arrow boolean type
gongxun0928 Apr 22, 2024
a979f56
bugfix: incorrect data stream origin length of bpchar type without co…
gongxun0928 Apr 22, 2024
dbc1170
PAX: Add reloption to set minmax columns
Apr 23, 2024
7f1b5de
Pax: merge reloption numeric_vec_storage to reloption storage_format
jiaqizho Apr 24, 2024
002185d
PAX: Update dependency management
gfphoenix78 Apr 24, 2024
6304a08
Feature: PAX support visibility map for delete/update
gongxun0928 Mar 6, 2024
5ebf071
Pax: storage format porc_vec support big group
jiaqizho Apr 25, 2024
b083b73
Feature: pax length stream support encoding options
jiaqizho Apr 25, 2024
b2f18b5
PAX: Improve the performance of analyze
gongxun0928 Apr 25, 2024
61c60fb
Fix: link paxformat.so error
gongxun0928 Apr 25, 2024
45b5474
PAX: install pax_dump into rpm
jiaqizho Apr 25, 2024
7773aec
PAX: Fix compile warnings and enable -Wextra and -Werror
Apr 26, 2024
822239f
Fix: The cache_group cache hit condition is incorrect.
gongxun0928 Apr 26, 2024
01711c3
Bugfix: pax fix coredump with vectorization enable
gongxun0928 Apr 28, 2024
d87267d
Regularly synchronize CBDB and update CI
zhangwenchao-123 Apr 25, 2024
bc63351
Pax: add new interface to combine two of MicroPartitionStatisticsInfo
jiaqizho May 6, 2024
d1be544
PAX: Fix visibility map to build ctid for vectorization
May 9, 2024
c65bb4c
Fix: use BITS_TO_BYTES to calculte the length of bitpacked buffer.
gongxun0928 May 16, 2024
8e1a74c
Pax: TupleDesc in TableTupleSlot is no longer used
jiaqizho May 16, 2024
297a9d2
Fix: the max value of pax_max_tuples_per_file is wrong
gongxun0928 May 17, 2024
b942f46
PAX: Refactor the writer/reader options
jiaqizho May 20, 2024
cec4ccf
PAX: bpchar support porc_vec
jiaqizho May 22, 2024
7fb592c
PAX: bitpacked support porc_vec
jiaqizho May 22, 2024
43e10eb
Fix: pax return wrong value of bool type when vectorization is enabled
gongxun0928 May 23, 2024
f43d460
Pax: feature support store toast datum
jiaqizho May 30, 2024
2d987be
bugfix: fix compilation errors in pax
gongxun0928 May 31, 2024
a8aa73b
bugfix: pax support default values when vectorization is enable
gongxun0928 May 31, 2024
383072f
Fix nullptr in missing column
jiaqizho Jun 3, 2024
e8f754e
PAX: optimize min-max memory state
jiaqizho Jun 4, 2024
c2b6092
Fix: compile error when CBDB_BUILD_TYPE is release
gongxun0928 Jun 4, 2024
7a98628
PAX: Add SCAN_SUPPORT_COLUMN_ORIENTED_SCAN in scan flags
jiaqizho Jun 7, 2024
9cc9b94
Regularly synchronize CBDB and update CI
Jun 6, 2024
d2a82d1
Op: PAX Precompute null counts array in GetTuple
jiaqizho Jun 13, 2024
56f3f10
Fix: length 0 and all null bpchar in record batch
jiaqizho Jun 13, 2024
b7401cf
feature: support dfs_tablespace in pax storage
gongxun0928 Jun 13, 2024
673af3b
PAX: refactor vec adapter and split the format into different paths
jiaqizho Jun 14, 2024
99c18aa
PAX: plasma is no longer supported
jiaqizho Jun 17, 2024
bfb2f88
Fix PAX scanning with visimap for vectorization
jiaqizho Jun 20, 2024
b867389
PAX: icw support vectorization regress test cases
jiaqizho Jun 21, 2024
773e14c
PAX: support porc_vec format no filling datum header when typlen is n…
jiaqizho Jun 21, 2024
c8288a1
PAX: add more exception message
jiaqizho Jun 24, 2024
2cb8133
PAX: enable porc_vec format ICW
jiaqizho Jun 24, 2024
c57b495
PAX: add existexttoast to summary callback
jiaqizho Jul 5, 2024
c0d39af
PAX: Support SUM and COUNT in statistics
jiaqizho Jul 9, 2024
6c25b08
Ignore extension misc_sanity case primary key check.
avamingli Jul 12, 2024
6aea3a4
PAX: re-enable the sql tests which defined in pax-tests target
jiaqizho Jul 16, 2024
e940341
PAX: support update stats when delete/update happend
jiaqizho Jul 19, 2024
617a014
Regularly synchronize CBDB and update CI
foreyes Jul 24, 2024
c8f90d3
PAX: support sum/count pb info combine
jiaqizho Jul 25, 2024
2e69fee
PAX: pax_dump support dump toast datum
jiaqizho Jul 29, 2024
b2836d9
PAX: AM can't insert into table which use object storage
gongxun0928 Jul 30, 2024
537f189
PAX: enable kind of UDF to dump the PAX file
jiaqizho Jul 31, 2024
d48f817
PAX: Disable the unsupport indexes
jiaqizho Aug 1, 2024
cface63
pax: suport index cluster
gongxun0928 Jul 21, 2024
c2311eb
PAX: Support zorder curve
gongxun0928 Jul 21, 2024
21c9a75
PAX: reset row filter memory context to avoid OOM
jiaqizho Aug 12, 2024
a5876a9
PAX: support varchar min/max operator
jiaqizho Aug 12, 2024
41513f0
Fix: pfree may free NULL datum
jiaqizho Aug 15, 2024
12074e4
PAX: The type of ptblockname is changed to int type
gongxun0928 Aug 18, 2024
c1379fe
PAX: Support dict encoding
jiaqizho Aug 26, 2024
23c4a14
PAX: support record batch return with dictionary
jiaqizho Aug 27, 2024
0967290
Regularly synchronize CBDB and update CI
gfphoenix78 Aug 23, 2024
e407f7a
PAX: Support parallel-scan
gongxun0928 Sep 3, 2024
88cc60b
bugfix: tuples loss issue in bitmap index scan
gongxun0928 Sep 5, 2024
036d83d
PAX: Refactor memory management to allow thread-safe scan
Sep 10, 2024
4e25d67
PAX: remove the opfamily and build scan will not use the BRINAM
jiaqizho Sep 12, 2024
e914d05
PAX: Support bloom filter in the statistics
jiaqizho Sep 18, 2024
e053ab1
PAX: Move the logic of checking whether stmt is supported in dfs tabl…
gongxun0928 Sep 10, 2024
cbad87b
PAX: Support parallel scan pax table by threads for vectorization
Sep 20, 2024
44fc0cf
PAX: support almost min/max oper
jiaqizho Sep 26, 2024
c10dd39
Regularly synchronize CBDB and update CI
fanfuxiaoran Sep 24, 2024
2c24dd9
PAX: Support lexical cluster
gongxun0928 Sep 26, 2024
05535c6
PAX: support more types for filtering in parallel scan
gfphoenix78 Sep 26, 2024
32f474b
Regularly synchronize CBDB and update CI
foreyes Sep 25, 2024
907e849
PAX: Add icw test in greenplum_schedule for pax table
gongxun0928 Sep 30, 2024
ef1f63e
Fix UFileClose failed, call UFileGetLastError to get error msg will c…
gongxun0928 Sep 30, 2024
4e7d471
PAX: Remove the gtest mock `Palloc/Palloc0/Pfree`
jiaqizho Oct 10, 2024
94e0d18
PAX: Fix compile issue that may install bad pax.so
gfphoenix78 Oct 21, 2024
8bf1cf0
PAX: disable numeric in bloom filter
jiaqizho Oct 24, 2024
e56f70c
PAX: Support IN expression filter for vector scan
Oct 28, 2024
e37fac4
PAX: move the CBDB_CHECK into MicroPartitionStats::FromValue
jiaqizho Oct 30, 2024
1d99478
Fix answer files when the collation changes to en_US.utf8
Nov 1, 2024
661f668
Fix the icw test failure case of pax under orca optimizer
gongxun0928 Oct 11, 2024
6d0141e
Fix parallel scan for pax tables
Nov 11, 2024
e14fe81
Remove the function assign_enable_vectorization
jiaqizho Nov 19, 2024
56edce9
Fix crash when insert large column value and pax_enable_toast is off
gfphoenix78 Nov 18, 2024
a6c16e3
Regularly synchronize CBDB and update CI
gfphoenix78 Oct 23, 2024
c1052fe
PAX: re-enable install libpaxformat and header
jiaqizho Nov 25, 2024
032e016
PAX: support python3 api
jiaqizho Nov 26, 2024
1469c67
Fix: PAX fast sequence will return the same seq in concurrent case
jiaqizho Nov 27, 2024
298de0f
Fix: can't insert into pax auxiliary table after blockid more than 32768
jiaqizho Nov 28, 2024
7e7225c
PAX: Fix error that parallel scan ignores toast files
Nov 28, 2024
7c41ac6
Fix index scan using bitmap index on paxr #137
gongxun0928 Nov 28, 2024
477ef87
PAX: don't detoast unread and short header datum
jiaqizho Nov 28, 2024
a6092aa
Performance/improve pax insert performance
gongxun0928 Nov 28, 2024
5b29dc5
Fix two toast issues that may cause crash
gfphoenix78 Dec 2, 2024
4931bd7
PAX: new implements of PAX filter
jiaqizho Dec 4, 2024
881d320
PAX:Filter support CAST in PG path
jiaqizho Dec 4, 2024
5f29bce
PAX: filter support arithmetic op exprs
jiaqizho Oct 28, 2024
bbd4774
PAX: do the encoding options cache in tablewriter
jiaqizho Dec 2, 2024
7b2cf11
Fix: pax reloption without order will cause the statistics no effect.
jiaqizho Dec 5, 2024
004910d
PAX: Use unique pointer instead of shared pointer for some cases
gfphoenix78 Nov 18, 2024
0fb375e
PAX: remove the memalign in non-fixed column
jiaqizho Nov 21, 2024
0e9d444
performance: refactor stats to improve pax writing performance
gongxun0928 Nov 25, 2024
23c0099
minor performance improve in data reading
gongxun0928 Dec 12, 2024
811608a
Decouple the parallel-scan code and MicroPartitionMetadata
Dec 12, 2024
26c9725
Pax/eliminate offsets array when data writing
gongxun0928 Dec 17, 2024
d0076fe
optimize: refactor OrcGroup::ReadTuple to improve performance
gongxun0928 Dec 12, 2024
5dd16fa
PAX: split unstable filter_tree test case
jiaqizho Dec 25, 2024
90f3e96
Fix: memory leak in VEC path when read the PG Nuemric
jiaqizho Dec 23, 2024
cbc7d0b
PAX: use the atomic in filter statistics
jiaqizho Dec 27, 2024
cbd711e
Regularly synchronize CBDB and update CI
gongxun0928 Dec 23, 2024
99890bc
Support custom smgr for pax
gongxun0928 Jan 6, 2025
4b25836
PAX: remove the unaligned(bypass) logic.
jiaqizho Jan 9, 2025
b199da6
PAX: Add wal log
gongxun0928 Jan 10, 2025
0362265
PAX: Add isolation2 tests in ci
gongxun0928 Jan 10, 2025
8dfee92
PAX: Fix isolation2 for test files
gfphoenix78 Jan 12, 2025
b4d7b9d
PAX: create a per-tablespace subdirectory when redo pax create direct…
gongxun0928 Jan 16, 2025
a812479
PAX: Add manifest api
gfphoenix78 Dec 19, 2024
03d2bff
Adapt pax auxiliary table to manifest API
gfphoenix78 Dec 19, 2024
716ae82
PAX: Fix nullptr after toast compress failed
jiaqizho Feb 11, 2025
8654189
PAXPY: Changed the CmakeLists
jiaqizho Jan 13, 2025
3a625a5
Pax: fix io error in pax table when transaction abort
gongxun0928 Jan 14, 2025
dc3859f
build: pax supports incremental compilation.
gongxun0928 Dec 16, 2024
c09a89a
PAX: remove the GUC VECTOR_MAX_BATCH_SIZE_GUC_NAME
jiaqizho Feb 24, 2025
205b552
Update vectoried scan interface
gfphoenix78 Feb 13, 2025
b551c92
PAX: Remove internal partition support
Feb 24, 2025
8e144ec
Fix the failure case in icw test.
gongxun0928 Feb 26, 2025
569b6a3
PAX: Fix test cases with or without vectorization
Feb 26, 2025
cfcfb2d
PAX: Add manifest implementation for catalog
Mar 3, 2025
ec06aab
Add Apache license to pax files
Mar 5, 2025
52d854a
PAX: change length array to offset array
jiaqizho Mar 10, 2025
d760f7f
PAX: Remove support for RemoteFileSystem
gfphoenix78 Feb 10, 2025
2db88bc
PAX: fix failture case in isolation2 testcase
gongxun0928 Mar 13, 2025
40bd4d3
PAX: Add doc/* and update README
jiaqizho Mar 7, 2025
1fdeaa7
PAX: Adapt to the latest access method
jiaqizho Mar 12, 2025
e5fe81a
Missing AM function swap_relation_files call
jiaqizho Mar 13, 2025
5da3337
PAX: Adapt to 32-bit relnode
jiaqizho Apr 1, 2025
e5624f0
FIX: Invalid USE_ASSERT_CHECKING in DeleteWithVisibilityMap
jiaqizho Apr 3, 2025
43203f0
Adapt PAX regression test to CBDB
jiaqizho Mar 14, 2025
15f3393
Adapt PAX isolation2 test to CBDB
jiaqizho Mar 20, 2025
b93beb6
PAX: Remove vectorization related tests
jiaqizho Apr 2, 2025
9972a30
PAX: update submodule
jiaqizho Apr 1, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
17 changes: 17 additions & 0 deletions .gitmodules
Original file line number Diff line number Diff line change
@@ -1,3 +1,20 @@
[submodule "gpcontrib/gpcloud/test/googletest"]
path = gpcontrib/gpcloud/test/googletest
url = https://github.com/google/googletest.git
[submodule "contrib/pax_storage/src/cpp/contrib/googletest"]
path = contrib/pax_storage/src/cpp/contrib/googletest
url = https://github.com/google/googletest.git
branch = v1.15.x
[submodule "contrib/pax_storage/src/cpp/contrib/tabulate"]
path = contrib/pax_storage/src/cpp/contrib/tabulate
url = https://github.com/p-ranav/tabulate.git
[submodule "contrib/pax_storage/src/cpp/contrib/googlebench"]
path = contrib/pax_storage/src/cpp/contrib/googlebench
url = https://github.com/google/benchmark.git
[submodule "contrib/pax_storage/src/cpp/contrib/cpp-stub"]
path = contrib/pax_storage/src/cpp/contrib/cpp-stub
url = https://github.com/coolxv/cpp-stub.git
[submodule "dependency/yyjson"]
path = dependency/yyjson
url = https://github.com/ibireme/yyjson.git

9 changes: 9 additions & 0 deletions GNUmakefile.in
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,9 @@ all:
$(MAKE) -C contrib/pg_buffercache all
ifeq ($(with_openssl), yes)
$(MAKE) -C contrib/sslinfo all
endif
ifeq ($(enable_pax), yes)
$(MAKE) -C contrib/pax_storage all
endif
$(MAKE) -C gpMgmt all
$(MAKE) -C gpcontrib all
Expand Down Expand Up @@ -73,6 +76,9 @@ install:
$(MAKE) -C contrib/tablefunc $@
$(MAKE) -C contrib/passwordcheck $@
$(MAKE) -C contrib/pg_buffercache $@
ifeq ($(enable_pax), yes)
$(MAKE) -C contrib/pax_storage $@
endif
ifeq ($(with_openssl), yes)
$(MAKE) -C contrib/sslinfo $@
endif
Expand Down Expand Up @@ -180,6 +186,9 @@ ICW_TARGETS += contrib/extprotocol contrib/dblink contrib/pg_trgm
ICW_TARGETS += contrib/indexscan contrib/hstore contrib/pgcrypto
ICW_TARGETS += contrib/tablefunc contrib/passwordcheck
ICW_TARGETS += contrib/pg_buffercache
ifeq ($(enable_pax), yes)
ICW_TARGETS += contrib/pax_storage
endif
# sslinfo depends on openssl
ifeq ($(with_openssl), yes)
ICW_TARGETS += contrib/sslinfo
Expand Down
33 changes: 33 additions & 0 deletions configure
Original file line number Diff line number Diff line change
Expand Up @@ -751,6 +751,7 @@ ICU_CFLAGS
with_icu
enable_thread_safety
INCLUDES
enable_pax
enable_preload_ic_module
enable_ic_proxy
enable_external_fts
Expand Down Expand Up @@ -901,6 +902,7 @@ enable_gpcloud
enable_external_fts
enable_ic_proxy
enable_preload_ic_module
enable_pax
enable_thread_safety
with_icu
with_tcl
Expand Down Expand Up @@ -1616,6 +1618,7 @@ Optional Features:
library)
--disable-preload-ic-module
disable preload interconnect module
--enable-pax enable pax support
--disable-thread-safety disable thread-safety in client libraries
--enable-openssl-redirect
enable redirect openssl interface to internal
Expand Down Expand Up @@ -9098,6 +9101,36 @@ fi
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: checking whether to build with preload ic module ... $enable_preload_ic_module" >&5
$as_echo "checking whether to build with preload ic module ... $enable_preload_ic_module" >&6; }

#
# pax support
#


# Check whether --enable-pax was given.
if test "${enable_pax+set}" = set; then :
enableval=$enable_pax;
case $enableval in
yes)

$as_echo "#define USE_PAX_STORAGE 1" >>confdefs.h

;;
no)
:
;;
*)
as_fn_error $? "no argument expected for --enable-pax option" "$LINENO" 5
;;
esac

else
enable_pax=no

fi


{ $as_echo "$as_me:${as_lineno-$LINENO}: result: checking whether to build with pax support ... $enable_pax" >&5
$as_echo "checking whether to build with pax support ... $enable_pax" >&6; }

#
# Include directories
Expand Down
10 changes: 10 additions & 0 deletions configure.ac
Original file line number Diff line number Diff line change
Expand Up @@ -925,6 +925,16 @@ PGAC_ARG_BOOL(enable, preload-ic-module, yes,
AC_MSG_RESULT([checking whether to build with preload ic module ... $enable_preload_ic_module])
AC_SUBST(enable_preload_ic_module)

#
# pax support
#
PGAC_ARG_BOOL(enable, pax, no,
[enable pax support],
[AC_DEFINE(USE_PAX_STORAGE, 1,
[Define to 1 to support pax])])
AC_MSG_RESULT([checking whether to build with pax support ... $enable_pax])
AC_SUBST(enable_pax)

#
# Include directories
#
Expand Down
6 changes: 6 additions & 0 deletions contrib/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -98,6 +98,12 @@ else
ALWAYS_SUBDIRS += hstore_plpython jsonb_plpython ltree_plpython
endif

ifeq ($(enable_pax),yes)
SUBDIRS += pax_storage
else
ALWAYS_SUBDIRS += pax_storage
endif

# Missing:
# start-scripts \ (does not have a makefile)

Expand Down
175 changes: 175 additions & 0 deletions contrib/pax_storage/.clang-format
Original file line number Diff line number Diff line change
@@ -0,0 +1,175 @@
---
Language: Cpp
# BasedOnStyle: Google
AccessModifierOffset: -1
AlignAfterOpenBracket: Align
AlignConsecutiveMacros: false
AlignConsecutiveAssignments: false
AlignConsecutiveDeclarations: false
AlignEscapedNewlines: Left
AlignOperands: true
AlignTrailingComments: true
AllowAllArgumentsOnNextLine: true
AllowAllConstructorInitializersOnNextLine: true
AllowAllParametersOfDeclarationOnNextLine: true
AllowShortBlocksOnASingleLine: Never
AllowShortCaseLabelsOnASingleLine: false
AllowShortFunctionsOnASingleLine: All
AllowShortLambdasOnASingleLine: All
AllowShortIfStatementsOnASingleLine: WithoutElse
AllowShortLoopsOnASingleLine: true
AlwaysBreakAfterDefinitionReturnType: None
AlwaysBreakAfterReturnType: None
AlwaysBreakBeforeMultilineStrings: true
AlwaysBreakTemplateDeclarations: Yes
BinPackArguments: true
BinPackParameters: true
BraceWrapping:
AfterCaseLabel: false
AfterClass: false
AfterControlStatement: false
AfterEnum: false
AfterFunction: false
AfterNamespace: false
AfterObjCDeclaration: false
AfterStruct: false
AfterUnion: false
AfterExternBlock: false
BeforeCatch: false
BeforeElse: false
IndentBraces: false
SplitEmptyFunction: true
SplitEmptyRecord: true
SplitEmptyNamespace: true
BreakBeforeBinaryOperators: None
BreakBeforeBraces: Attach
BreakBeforeInheritanceComma: false
BreakInheritanceList: BeforeColon
BreakBeforeTernaryOperators: true
BreakConstructorInitializersBeforeComma: false
BreakConstructorInitializers: BeforeColon
BreakAfterJavaFieldAnnotations: false
BreakStringLiterals: true
ColumnLimit: 80
CommentPragmas: '^ IWYU pragma:'
CompactNamespaces: false
ConstructorInitializerAllOnOneLineOrOnePerLine: true
ConstructorInitializerIndentWidth: 4
ContinuationIndentWidth: 4
Cpp11BracedListStyle: true
DeriveLineEnding: true
DerivePointerAlignment: false
DisableFormat: false
ExperimentalAutoDetectBinPacking: false
FixNamespaceComments: true
ForEachMacros:
- foreach
- Q_FOREACH
- BOOST_FOREACH
IncludeBlocks: Regroup
IncludeCategories:
- Regex: '"postgres\.h"'
Priority: -1
- Regex: '^<gtest/gtest\.h>'
Priority: -1
- Regex: '"comm/cbdb_api\.h"'
Priority: 1
- Regex: '^<.*\.h>'
Priority: 2
SortPriority: 0
- Regex: '^<.*'
Priority: 3
SortPriority: 0
- Regex: '^<ext/.*\.h>'
Priority: 4
SortPriority: 0
- Regex: '.*'
Priority: 5
SortPriority: 0
IncludeIsMainRegex: '([-_](test|unittest))?$'
IncludeIsMainSourceRegex: ''
IndentCaseLabels: true
IndentGotoLabels: true
IndentPPDirectives: None
IndentWidth: 2
IndentWrappedFunctionNames: false
JavaScriptQuotes: Leave
JavaScriptWrapImports: true
KeepEmptyLinesAtTheStartOfBlocks: false
MacroBlockBegin: ''
MacroBlockEnd: ''
MaxEmptyLinesToKeep: 1
NamespaceIndentation: None
ObjCBinPackProtocolList: Never
ObjCBlockIndentWidth: 2
ObjCSpaceAfterProperty: false
ObjCSpaceBeforeProtocolList: true
PenaltyBreakAssignment: 2
PenaltyBreakBeforeFirstCallParameter: 1
PenaltyBreakComment: 300
PenaltyBreakFirstLessLess: 120
PenaltyBreakString: 1000
PenaltyBreakTemplateDeclaration: 10
PenaltyExcessCharacter: 1000000
PenaltyReturnTypeOnItsOwnLine: 200
PointerAlignment: Right
ReferenceAlignment: Pointer
RawStringFormats:
- Language: Cpp
Delimiters:
- cc
- CC
- cpp
- Cpp
- CPP
- 'c++'
- 'C++'
CanonicalDelimiter: ''
BasedOnStyle: google
- Language: TextProto
Delimiters:
- pb
- PB
- proto
- PROTO
EnclosingFunctions:
- EqualsProto
- EquivToProto
- PARSE_PARTIAL_TEXT_PROTO
- PARSE_TEST_PROTO
- PARSE_TEXT_PROTO
- ParseTextOrDie
- ParseTextProtoOrDie
CanonicalDelimiter: ''
BasedOnStyle: google
ReflowComments: true
SortIncludes: true
SortUsingDeclarations: true
SpaceAfterCStyleCast: false
SpaceAfterLogicalNot: false
SpaceAfterTemplateKeyword: true
SpaceBeforeAssignmentOperators: true
SpaceBeforeCpp11BracedList: false
SpaceBeforeCtorInitializerColon: true
SpaceBeforeInheritanceColon: true
SpaceBeforeParens: ControlStatements
SpaceBeforeRangeBasedForLoopColon: true
SpaceInEmptyBlock: false
SpaceInEmptyParentheses: false
SpacesBeforeTrailingComments: 2
SpacesInAngles: false
SpacesInConditionalStatement: false
SpacesInContainerLiterals: true
SpacesInCStyleCastParentheses: false
SpacesInParentheses: false
SpacesInSquareBrackets: false
SpaceBeforeSquareBrackets: false
Standard: Auto
StatementMacros:
- Q_UNUSED
- QT_REQUIRE_VERSION
TabWidth: 8
UseCRLF: false
UseTab: Never
...

Loading