Hanefi Onaldi
5aff18b573
Fix flaky test
2021-02-24 17:09:08 +03:00
Hanefi Onaldi
9a792ef841
Remove length limitations for table renames
2021-02-24 03:35:27 +03:00
Hanefi Onaldi
7bebeb872d
Failing long table name tests
2021-02-24 03:35:27 +03:00
Onur Tirtir
495096ef5e
Remove useless pg version checks ( #4741 )
2021-02-23 21:20:18 +03:00
Naisila Puka
dbb88f6f8b
Fix insert query with CTEs/sublinks/subqueries etc ( #4700 )
...
* Fix insert query with CTE
* Add more cases with deferred pruning but false fast path
* Add more tests
* Better readability with if statements
2021-02-23 18:00:47 +03:00
Naisila Puka
105bb580e1
Add columnar regression tests ( #4727 )
...
* Add cursor tests for columnar tables
* Add columnar tests for data types w/out comp. operators
* Add more prepared statements with columnar tables
* Add constraint tests for columnar tables
* Add row level security, detach partition and rename columnar tests
* Add some ORDER BYs
2021-02-23 14:16:38 +03:00
Hadi Moshayedi
b6f5d98bee
Merge pull request #4723 from citusdata/fix_warning
...
Fix alignment issue in DatumToBytea
2021-02-22 16:15:27 -08:00
Hadi Moshayedi
2fca5ff3b5
Fix alignment issue in DatumToBytea
2021-02-22 16:04:30 -08:00
Onur Tirtir
bebca9ee79
Merge pull request #4733 from citusdata/update-cl-954
...
Update CHANGELOG for 9.5.4
2021-02-19 14:47:19 +03:00
Onur Tirtir
bb14c5267f
Update CHANGELOG for 9.5.4
2021-02-19 14:20:25 +03:00
SaitTalhaNisanci
dcf54eaf2a
Use PROCESS_UTILITY_QUERY in utility calls
...
When we use PROCESS_UTILITY_TOPLEVEL it causes some problems when
combined with other extensions such as pg_audit. With this commit we use
PROCESS_UTILITY_QUERY in the codebase to fix those problems.
2021-02-19 13:55:59 +03:00
Sait Talha Nisanci
bbf6132226
Revert "wip ( #4730 )"
...
This reverts commit 62e6d54a4e
.
2021-02-19 13:55:59 +03:00
SaitTalhaNisanci
62e6d54a4e
wip ( #4730 )
2021-02-19 13:42:19 +03:00
Onur Tirtir
6db5ecb97a
Merge pull request #4729 from citusdata/update-cl-10.0.1
...
Update CHANGELOG for 10.0.1
2021-02-19 12:03:18 +03:00
Onur Tirtir
9031a22e20
Update CHANGELOG for 10.0.1
2021-02-19 11:53:02 +03:00
Marco Slot
b51d3bf981
Merge pull request #4725 from citusdata/marcocitus/fix-time-partitions
2021-02-18 14:13:36 +01:00
Marco Slot
972a8bc0b7
Rewrite time_partitions join clause to avoid smallint[] operator
2021-02-18 12:01:18 +01:00
Ahmet Gedemenli
b0aeb41d4e
Merge pull request #4714 from citusdata/support-multi-drop-index
...
Support dropping local table indexes along with a distributed index
2021-02-18 13:37:03 +03:00
Ahmet Gedemenli
a740fb5978
Merge branch 'master' into support-multi-drop-index
2021-02-18 13:31:08 +03:00
Ahmet Gedemenli
1f345f65b4
Support dropping local table indexes along with a distributed index
2021-02-18 13:30:12 +03:00
Onur Tirtir
1cbbeab405
Merge pull request #4719 from citusdata/master-update-version-1613472925
...
Bump Citus to 10.1devel
2021-02-17 12:25:12 +03:00
Onur Tirtir
676d9a9726
Bump Citus to 10.1devel
2021-02-17 11:54:33 +03:00
jeff-davis
0227317002
Columnar: better specification for microbenchmark. ( #4711 )
...
Co-authored-by: Jeff Davis <jefdavi@microsoft.com>
2021-02-16 15:28:25 -08:00
Onur Tirtir
530a284e51
Merge pull request #4720 from citusdata/9.5.3-cl
...
Update CHANGELOG for 9.5.3
2021-02-16 16:10:48 +03:00
Onur Tirtir
a0de066996
Update CHANGELOG for 9.5.3
2021-02-16 15:16:06 +03:00
Onur Tirtir
41da3a3205
Merge pull request #4716 from citusdata/citus-10.0-changelog-1613462741
...
Update CHANGELOG for 10.0.0
2021-02-16 13:52:00 +03:00
Onur Tirtir
2d36707a82
Update CHANGELOG for 10.0.0
2021-02-16 13:36:01 +03:00
Onur Tirtir
d61fd6e478
Decide changing sequence dependencies on MX nodes according to resulting relation ( #4713 )
...
When executing alter_table / undistribute_table udf's, we should not try
to change sequence dependencies on MX workers if new table wouldn't
require syncing metadata.
Previously, we were checking that for input table. But in some cases, the
fact that input table requires syncing metadata doesn't imply the same
for resulting table (e.g when undistributing a Citus table).
Even more, doing that was giving an unexpected error when undistributing
a Citus table so this commit actually fixes that.
2021-02-15 19:20:26 +03:00
SaitTalhaNisanci
bcbd24f8de
Only consider pseudo constants for shortcuts ( #4712 )
...
It seems that we need to consider only pseudo constants while doing some
shortcuts in planning. For example there could be a false clause but it
can contribute to the result in which case it will not be a pseudo
constant.
2021-02-15 18:39:37 +03:00
SaitTalhaNisanci
0f1ce7a913
Not skip relation in conversion if it doesn't have RelationRestriction ( #4685 )
...
We would exclude tables without relationRestriction from conversion
candidates in local-distributed table joins. This could leave a leftover
local table which should have been converted to a subquery.
Ideally I would expect that in each call to CreateDistributedPlan we
would pass a new plan id, but that seems like a bigger change.
2021-02-12 12:33:55 +03:00
Hadi Moshayedi
0f613ac31c
Merge pull request #4702 from citusdata/metadata_changes
...
Move stripe.chunk_count to last position
2021-02-11 21:06:57 -08:00
Hadi Moshayedi
e690d8b79b
Move stripe.chunk_count to last position
2021-02-11 17:00:44 -08:00
Hadi Moshayedi
1c4081ea5f
Merge pull request #4699 from citusdata/readme
...
Columnar: update README to compare with cstore_fdw.
2021-02-11 11:13:26 -08:00
Jeff Davis
b96673de69
Columnar: update README to compare with cstore_fdw.
2021-02-11 10:47:27 -08:00
Hadi Moshayedi
277a773f5e
Merge pull request #4698 from citusdata/chunk-group-num
...
Columnar: rename chunk_num -> chunk_group_num.
2021-02-11 10:18:13 -08:00
Jeff Davis
1f1c3c362b
Columnar: rename chunk_num -> chunk_group_num.
2021-02-11 09:27:00 -08:00
Önder Kalacı
1b5244c410
Merge pull request #4683 from citusdata/int_results_on_separate_conns
...
Do not re-use connections for colocated intermediate results during COPY
2021-02-11 16:40:28 +01:00
Onder Kalaci
f297c96ec5
Add regression tests for COPY into colocated intermediate results
...
To add the tests without too much data, make the copy switchover
configurable.
2021-02-11 15:41:06 +01:00
Onder Kalaci
5d5a357487
Do not connection re-use for intermediate results
...
/*
* Colocated intermediate results are just files and not required to use
* the same connections with their co-located shards. So, we are free to
* use any connection we can get.
*
* Also, the current connection re-use logic does not know how to handle
* intermediate results as the intermediate results always truncates the
* existing files. That's why, we use one connection per intermediate
* result.
*/
2021-02-11 15:41:06 +01:00
Ahmet Gedemenli
01fb8f8124
Merge pull request #4674 from citusdata/fix-dropping-fkey
...
Fix dropping fkey when distributing table
2021-02-11 15:59:00 +03:00
Ahmet Gedemenli
c8e83d1f26
Fix dropping fkey when distributing table
2021-02-11 15:48:35 +03:00
SaitTalhaNisanci
847b79078f
Not consider subplans in restriction list ( #4679 )
...
* Not consider subplans in restriction list
* Not consider sublink, alternative subplan in restrictions
2021-02-11 15:04:07 +03:00
Hadi Moshayedi
1d4b2e3fd0
Merge pull request #4680 from citusdata/fix_deadlock
...
Don't include stripe reservation locks in lock graph
2021-02-10 13:27:10 -08:00
Hadi Moshayedi
c3dcd6b9f8
Columnar: don't include stripe reservation locks in lock graph.
2021-02-10 10:20:20 -08:00
Hadi Moshayedi
841d25bae9
Release metadata locks early
2021-02-10 10:20:12 -08:00
Onur Tirtir
7170ed287c
Merge pull request #4677 from citusdata/test-long-name-citus-local
...
Test adding local table with long name to metadata
2021-02-10 18:17:20 +03:00
Onur Tirtir
ec7ab68f3b
Test adding local table with long name to metadata
2021-02-10 18:05:04 +03:00
Onur Tirtir
9f619a85d6
Fix EXPLAIN ANALYZE exec when query returns no cols ( #4672 )
...
We do not include dummy column if original task didn't return any
columns.
Otherwise, number of columns that original task returned wouldn't
match number of columns returned by worker_save_query_explain_analyze.
2021-02-10 17:59:47 +03:00
Hadi Moshayedi
29d340331e
Merge pull request #4630 from citusdata/fix_4626
...
Columnar: Fix zero column tables
2021-02-09 23:12:08 -08:00
Hadi Moshayedi
52297804ae
Fix zero column tables
2021-02-09 23:05:11 -08:00