Commit Graph

5786 Commits (6de95e2b144c0f2da087c6bec317fae859188b9f)

Author SHA1 Message Date
Burak Velioglu 6de95e2b14
Add view propagation tests 2022-04-14 18:37:01 +03:00
Burak Velioglu b8f673ca91
Add view as known-to-distribute object 2022-04-14 17:42:51 +03:00
Burak Velioglu d76f254904
Check worker node existence before giving a warning message 2022-04-14 15:15:35 +03:00
Burak Velioglu d669efccdb
Test arbitrary config 2022-04-13 16:53:54 +03:00
Burak Velioglu f21a80bbef
Self-review 2022-04-13 16:36:28 +03:00
Burak Velioglu a519b84b08
Test arbitrary config fix 2022-04-13 14:16:57 +03:00
Burak Velioglu 55278c9062
Fix multi-1 tests 2022-04-13 02:14:51 +03:00
Burak Velioglu 69cf83ca22
Continue fixing multi tests 2022-04-13 00:56:54 +03:00
Burak Velioglu 68b291754b
Fix isolation tests 2022-04-12 23:25:12 +03:00
Burak Velioglu 483eb29a4f
Fix multi tests 2022-04-12 23:15:51 +03:00
Burak Velioglu 9a0051b151
Fix MX tests 2022-04-12 23:08:57 +03:00
Burak Velioglu 6e5eb862a0
Merge branch 'master' into velioglu/view_propagation 2022-04-12 22:39:30 +03:00
Burak Velioglu 8da75defb6
Fix shard rebalancer test 2022-04-12 22:38:58 +03:00
Burak Velioglu dee6a7ef3c
Quote alias identifier 2022-04-12 16:12:49 +03:00
Hanefi Onaldi 6254f30305
Add arbitrary config tests for function DDL statements (#5885) 2022-04-12 16:03:10 +03:00
Burak Velioglu ac980609cb
Test activate node 2022-04-12 15:52:49 +03:00
Burak Velioglu 067994882d
Fix arbitrary config tests 2022-04-12 15:39:37 +03:00
Burak Velioglu d2dd247f68
Merge branch 'master' into velioglu/view_propagation 2022-04-12 15:12:05 +03:00
Burak Velioglu e55417a04f
Propagate views while scaling out the cluster 2022-04-12 14:54:22 +03:00
Önder Kalacı dd78c81378
Fix flaky isolation - 1 (#5900)
* Do not show any PG internal queries
2022-04-11 20:43:51 -07:00
Hanefi Onaldi f34fc37478
Merge pull request #5895 from citusdata/changelog-updates 2022-04-11 16:03:15 +03:00
Hanefi Onaldi 3ec1fc48fc
Add changelog entries for 11.0.1_beta 2022-04-11 14:06:25 +03:00
Burak Velioglu 31df111ecb
Merge pull request #5893 from citusdata/velioglu/fix_function_in_tx
Create function in transaction according to create object propagation guc
2022-04-08 17:51:41 +03:00
Burak Velioglu 5d9599f964
Create function in transaction according to create object propagation guc 2022-04-08 17:15:31 +03:00
Nils Dijk 31493288de
Merge pull request #5764 from citusdata/feature/domain-type
Feature: propagate DOMAIN objects
2022-04-08 16:14:18 +02:00
Nils Dijk 8897361f95
Implement DOMAIN propagation for citus 2022-04-08 15:25:39 +02:00
Jelte Fennema 6d8c5931d6
Work around flaky test related to search_path (#5894)
For some reason search_path is not always set correctly on the worker
when calling a distributed function, this shows up when calling
`insert_document` in our distributed_triggers test. The underlying
reason is currently unknown and warrants deeper investigation.

Currently this test is one of the main causes for random CI failures. So
this change sets the search_path of each function explicitly, to reduce
these failures. So other devs can be more efficient, while I continue
investigating the root cause of this issue.

Also changes explicit `SET citus.enable_unsafe_triggers = false` to
`RESET citus.enable_unsafe_triggers` in passing.
2022-04-08 16:09:33 +03:00
Önder Kalacı 78d8561b59
Merge pull request #5880 from citusdata/rename_metadata_func
Rename metadata sync to node metadata sync where applicable
2022-04-07 21:53:55 +02:00
Onder Kalaci b0b91bab04 Rename metadata sync to node metadata sync where applicable 2022-04-07 17:51:31 +02:00
Marco Slot 54f97c7b2b
Merge pull request #5879 from citusdata/marcocitus/fix-unique-index 2022-04-07 16:28:04 +02:00
Marco Slot 2304815356 Allow adding a unique constraint with an index 2022-04-07 16:00:31 +02:00
Marco Slot 67fdecfcb0
Merge pull request #5882 from citusdata/marcocitus/fix-explain 2022-04-07 15:59:44 +02:00
Burak Velioglu 96d91a48a4
Introduce CREATE/DROP VIEW 2022-04-07 13:39:27 +03:00
Marco Slot c0827703ec Fix EXPLAIN ANALYZE JSON format for subplans 2022-04-07 11:38:20 +02:00
Marco Slot f9bbcb8840
Merge pull request #5883 from citusdata/marcocitus/fix-explain-parameters 2022-04-07 11:36:47 +02:00
Marco Slot 544dce919a Handle user-defined type parameters in EXPLAIN ANALYZE 2022-04-07 11:14:32 +02:00
Hanefi Onaldi b092a1a496
Use consistent naming for tap test workflows in CI config (#5874)
All the job names in our CI config are of the form `test-1[34]_.*` except for tap-recovery tests.
2022-04-05 05:53:55 +02:00
Marco Slot b69713937d
Merge pull request #5878 from citusdata/marcocitus/remove-old-repartitioning 2022-04-04 20:18:38 +02:00
Marco Slot 9476f377b5 Remove old re-partitioning functions 2022-04-04 18:11:52 +02:00
Marco Slot b511e28e80
Merge pull request #5875 from citusdata/marcocitus/tablesample 2022-04-01 16:47:03 +02:00
Marco Slot 8c8c3b665d Add TABLESAMPLE support 2022-04-01 15:51:40 +02:00
Ahmet Gedemenli 5374c771a9
Merge pull request #5872 from citusdata/schema-tests-arbitrary
Add schema tests to arbitrary configs
2022-04-01 16:17:13 +03:00
Ahmet Gedemenli a62de6494d Add schema tests to arbitrary configs 2022-04-01 13:57:17 +03:00
jeff-davis c485a04139
Separate build of citus.so and citus_columnar.so. (#5805)
* Separate build of citus.so and citus_columnar.so.

Because columnar code is statically-linked to both modules, it doesn't
make sense to load them both at once.

A subsequent commit will make the modules entirely separate and allow
loading them both simultaneously.

Author: Yanwen Jin

* Separate citus and citus_columnar modules.

Now the modules are independent. Columnar can be loaded by itself, or
along with citus.

Co-authored-by: Jeff Davis <jefdavi@microsoft.com>
2022-03-31 19:47:17 -07:00
Gledis Zeneli c9aab7fb8b
Add TRUNCATE arbitrary config tests (#5848)
Adds TRUNCATE arbitrary config tests.
Also adds the ability to skip tests from particular configs.
2022-03-31 14:14:47 +03:00
Önder Kalacı a0a2e80c78
Merge pull request #5869 from citusdata/do_not_hide_shards_from_pg
Only hide shards from client backends or non-pg background workers
2022-03-30 17:43:22 +02:00
Onder Kalaci 9043a1ed3f Only hide shards from client backends and pg bg workers
The aim of hiding shards is to hide shards from client applications.

Certain bg workers (such as pg_cron or Citus maintanince daemon)
should be treated like client applications because users can run
queries from such bg workers. And, these bg workers should follow
the similar application_name checks as client backeends.

Certain other bg workers, such as logical replication or postgres'
parallel workers, should never hide shards. They are internal
operations.

Similarly the other backend types like the walsender or
checkpointer or autovacuum should never hide shards.
2022-03-30 16:56:12 +02:00
Ahmet Gedemenli b94422d5cf
Merge pull request #5867 from citusdata/arbitrary-configs-view-test
Add view tests to arbitrary configs
2022-03-30 16:17:31 +03:00
Ahmet Gedemenli f74d3eedc8 Add tests for materialized views 2022-03-30 16:01:11 +03:00
Ahmet Gedemenli 8ef2da8192 Add view tests to arbitrary configs 2022-03-30 12:28:31 +03:00