Hadi Moshayedi
83f6c7dab4
Fix subxact release crash
2019-06-19 17:43:10 +02:00
Hadi Moshayedi
c42b22f8fd
Fix test name detection in bin/diff
2019-06-17 11:31:42 +02:00
Philip Dubé
342d423725
Fix join alias resolution
...
FROM (query) alias ignored renaming
In nested subqueries the select list would rename, while the join alias would not respect that
2019-06-12 17:25:07 -07:00
Hadi Moshayedi
8e2d328530
Search all outer node levels for lateral join params.
2019-06-04 10:14:05 -07:00
Philip Dubé
b5ced403d8
Also check rewrittenQuery jointree for outer join
2019-06-04 07:47:35 -07:00
Marco Slot
c1566d464b
Fix failure and isolation tests
...
On top of citus.max_cached_conns_per_worker GUC, with this commit
we're updating the regression tests to comply with the new behaviour.
2019-05-29 14:42:31 +02:00
Onder Kalaci
d46b92d79a
Add order by to multi_mx_schema_support
2019-05-28 12:23:28 +02:00
Onder Kalaci
fa2a6e4d8f
Add order by to multi_mx_router_planner
2019-05-28 12:23:28 +02:00
Onder Kalaci
0a7a173eee
Add order by to multi_mx_reference_table
2019-05-28 12:23:28 +02:00
Onder Kalaci
1553e12ee4
Add order by to multi_subquery_complex_reference_clause
2019-05-28 12:06:57 +02:00
Philip Dubé
b8871d9ff4
Propagate more ALTER FOREIGN TABLE to workers
2019-05-24 12:54:05 -07:00
Marco Slot
b3fcf2a48f
Deprecate master_modify_multiple_shards
2019-05-24 15:22:06 +02:00
Marco Slot
7fa5d36057
Stop using master_modify_multiple_shards in TRUNCATE
2019-05-24 14:35:46 +02:00
Hanefi Onaldi
7443191397
Improve tests for round robin & router queries
2019-05-24 14:16:56 +03:00
Philip Dubé
16886b3c63
Fix misc typos
2019-05-23 17:23:27 -07:00
Onder Kalaci
f1a80a609f
Fix wrong test output
...
If replication factor eqauls to 2 and there are two worker nodes,
even if two modifications hit different shards, Citus doesn't use
2PC. The reason is that it doesn't fit into the definition of
"expanding participating worker nodes".
Thus, we're simply fixing the test to fit in the comment
on top of it.
2019-05-21 19:12:37 +03:00
Onder Kalaci
f76abfe470
Add ORDER BY to multi_router_planner
2019-05-21 15:54:33 +03:00
Onder Kalaci
f06a79563d
Add ORDER BY to multi_foreign_key
2019-05-21 15:54:03 +03:00
Hanefi Onaldi
4030d603eb
Merge pull request #2691 from citusdata/update_changelog
...
Add 8.1.2 and 8.2.1 changelog entries
2019-05-15 09:18:58 +03:00
Onder Kalaci
5d68a13139
Add order by to multi_shard_update_delete
2019-05-02 20:09:33 +03:00
Onder Kalaci
2c76b4bc46
Add order by to multi_function_in_join test
2019-05-02 20:05:25 +03:00
Onder Kalaci
3d871c5334
Add some ORDER BYs to make the test output consistent
2019-05-02 18:00:46 +03:00
Hadi Moshayedi
32ecb6884c
Test ROLLBACK TO SAVEPOINT with multi-shard CTE failures
2019-05-01 09:33:43 -07:00
Hadi Moshayedi
aafd22dffa
Fix savepoint rollback for INSERT INTO ... SELECT.
2019-05-01 09:33:43 -07:00
Hadi Moshayedi
b69a762e0b
Fix savepoint rollback after multi-shard update failure.
2019-05-01 09:33:43 -07:00
Hadi Moshayedi
a9f7c1e8cb
Normalize test result/expected files before doing diff.
2019-04-30 10:19:23 -07:00
Onder Kalaci
82813a8796
Add ORDER BYs to multi_subquery and subqueries_deep tests
2019-04-24 13:36:11 +03:00
Onder Kalaci
004f28e18c
Sort output of RETURNING
...
The feature is only intended for getting consistent outputs for the regression tests.
RETURNING does not have any ordering gurantees and with unified executor, the ordering
of query executions on the shards are also becoming unpredictable. Thus, we're enforcing
ordering when a GUC is set.
We implicitly add an `ORDER BY` something equivalent of
`
RETURNING expr1, expr2, .. ,exprN
ORDER BY expr1, expr2, .. ,exprN
`
As described in the code comments as well, this is probably not the most
performant approach we could implement. However, since we're only
targeting regression tests, I don't see any issues with that. If we
decide to expand this to a feature to users, we should revisit the
implementation and improve the performance.
2019-04-24 11:51:19 +03:00
Onder Kalaci
64b323d9eb
Add ORDER BY to set_operations
2019-04-23 11:51:58 +03:00
Onder Kalaci
913ffc9dcd
Add ORDER BY to multi_subquery_in_where_clause
2019-04-23 11:46:00 +03:00
Onder Kalaci
753163b4d8
Be less verbose for printing worker ports in intermediate_results
2019-04-17 14:57:20 +03:00
Onder Kalaci
b3af5b2cc4
Add order by multi_mx_modifications
2019-04-17 14:57:20 +03:00
Onder Kalaci
a159bd9aed
Add order by window_functions
2019-04-17 14:57:20 +03:00
Jason Petersen
4b9519e7d6
Check for non-extended constraint before extending
...
This will only apply to DROP and VALIDATE commands; see the lengthy
comment in multi_create_table_constraints.sql for more explanation.
2019-04-15 23:14:21 -06:00
Jason Petersen
5a017c684c
Add repro case for #2484
2019-04-15 23:14:11 -06:00
Onder Kalaci
6d81fc518c
Add order by subquery_complex_target_list
2019-04-10 19:55:41 +03:00
Onder Kalaci
58e90ad60d
Add order by multi_outer_join
2019-04-09 12:53:57 +03:00
Onder Kalaci
298e95c441
Add order by multi_shard_update_delete
2019-04-09 12:41:46 +03:00
Onder Kalaci
6a8e2c260a
Add order by multi_insert_select
2019-04-09 12:28:57 +03:00
Onder Kalaci
af096a898c
Add order by subquery_and_cte
2019-04-09 12:19:10 +03:00
Onder Kalaci
56a1a39fd4
Add order by multi_subquery_complex_queries
2019-04-09 12:12:26 +03:00
Onder Kalaci
4effa8c1f8
Add order by multi_schema_support
2019-04-09 11:52:08 +03:00
Onder Kalaci
92e87738dd
Make sure that the regression test output is durable to different execution orders
...
Mostly add order bys and suppress worker node ports in the test
outputs.
2019-04-08 11:48:08 +03:00
Murat Tuncer
1424f75ec9
Support columns referencing an aliased joins
...
We used to rely on PG function flatten_join_alias_vars
to resolve actual columns referenced in target entry list.
The function goes deep and finds the actual relation. This logic
usually works fine. However, when joins are given an alias, inner
relation names are not visible to target entry entry. Thus relation
resolving should stop when we the target entry column refers an
rte of an aliased join.
We stopped using PG function and provided our own flatten function.
2019-03-26 09:46:22 +03:00
Jason Petersen
4c7f78bd7e
Code review feedback
2019-03-25 22:07:27 -05:00
Jason Petersen
69adb627c3
Add Assert that will crash before coercion fix is in
2019-03-22 20:32:19 -06:00
Hadi Moshayedi
ff1d4f697a
Ignore test_times.log ( #2638 )
2019-03-22 10:29:01 -07:00
Nils Dijk
feaac69769
Implementation for asycn FinishConnectionListEstablishment ( #2584 )
2019-03-22 17:30:42 +01:00
Marco Slot
e3b7e74f43
Allow rescan in DECLARE .. WITH HOLD
2019-03-22 11:25:55 +01:00
Jason Petersen
a2c6f596f9
Address code review comments
2019-03-21 11:59:52 -06:00