Commit Graph

2622 Commits (e5cd298a987fd4b1b0804e61de21863031bf2078)

Author SHA1 Message Date
Önder Kalacı 21f772030f
Merge pull request #2720 from citusdata/order_by_fix_8
Make sure that the regression tests are resistant to execution order changes
2019-05-21 15:00:13 +02: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
Hadi Moshayedi 332ccbf8c1
Merge pull request #2718 from citusdata/fix_include
Fix an include in recusive_planning.c
2019-05-20 18:01:56 -08:00
Hadi Moshayedi dce9260c0e Fix an include in recusive_planning.c 2019-05-20 18:57:03 -07:00
Murat Tuncer e29bc808b7
Merge pull request #2703 from citusdata/fix_dist_table_cache_initialization
Fix DistShardCacheHash initialization
2019-05-15 16:57:01 +03:00
Murat Tuncer 3fe482adbc Fix DistShardCacheHash initialization
InitializeCaches() method may prematurely set
performedInitialization without actually creating
DistShardCacheHash.

Fix makes sure flag is set only if DistShardCacheHash is created successfully.

Also introduced a new memory context to allocate aforementioned hash tables.
If allocation/initialization fails for any reason we make sure
memory is reclaimed by deleting the memory context.
2019-05-15 16:47:44 +03:00
Hanefi Onaldi 986ef6651a
Merge pull request #2707 from citusdata/correct_anchor_shardids_on_round_robin
Prevent anchoring reference table shard ids when distributed tables are in join clauses
2019-05-15 09:31:24 +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
Hadi Moshayedi 1b4dc44996
Merge pull request #2706 from citusdata/simplify_EndRemoteCopy
Remove stopOnFailure flag from EndRemoteCopy()
2019-05-13 12:51:15 -08:00
Hadi Moshayedi b5c0ca45f1 Remove stopOnFailure flag from EndRemoteCopy() 2019-05-11 06:18:34 -07:00
Hadi Moshayedi 39e806c276
Merge pull request #2701 from citusdata/fix_warnings
Fix mixed declarations and code warnings
2019-05-08 11:56:10 -08:00
Hadi Moshayedi e584961267 Fix mixed declarations and code warnings 2019-05-08 12:51:40 -07:00
Hanefi Onaldi f7081f3119
Merge pull request #2691 from citusdata/update_changelog
Add 8.1.2 and 8.2.1 changelog entries
2019-05-07 09:42:51 +03:00
velioglu b6bbee2cac
Add 8.1.2 and 8.2.1 changelog entries 2019-05-07 09:09:47 +03:00
Claire Giordano ce53671616
Merge pull request #2699 from citusdata/may-readme
Updates to README.md on May 6th
2019-05-06 08:30:55 -07:00
Claire Giordano c429bc4ced
updated Agari & MixRank user story links 2019-05-06 00:53:38 -07:00
Claire Giordano 61bda2a9e4
fix typo 2019-05-06 00:49:56 -07:00
Claire Giordano 076a9a3232
Updated descr, use case, customer, & get started 2019-05-06 00:47:20 -07:00
Önder Kalacı 53d0dcd659
Merge pull request #2696 from citusdata/order_by_fix_7
Add some more ORDER BYs
2019-05-02 19:15:31 +02: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
Önder Kalacı febe412108
Merge pull request #2688 from citusdata/unify_fkey_to_ref_recording
Refactor Parallel Relation Access Recording
2019-05-02 17:19:06 +02:00
Onder Kalaci 495b6e9b62 Refactor Parallel Relation Access Recording
Instead of scattering the code around, we move all the
logic into a single function.

This will help supporting foreign keys to reference tables
in the unified executor with a single line of change, just
calling this function.
2019-05-02 18:12:33 +03:00
Önder Kalacı 2f55d61800
Merge pull request #2695 from citusdata/order_by_fix_6
Add some ORDER BYs to make the test output consistent
2019-05-02 17:11:47 +02:00
Onder Kalaci 3d871c5334 Add some ORDER BYs to make the test output consistent 2019-05-02 18:00:46 +03:00
Hadi Moshayedi 5205bc4be9
Merge pull request #2673 from citusdata/fix_multishard_transactions
Fix savepoint rollback after multi-shard modify/copy failure.
2019-05-01 08:38:25 -08: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
Jason Petersen 5b98f26984
Merge pull request #2669 from citusdata/fix_self_strncmp
Fix self strncmp

cr: @marcocitus
2019-04-30 15:18:58 -05:00
Jason Petersen 71d5d1c865 Enable variable shadowing warnings; fix all
Rather than wait for another place like the previous commit to bite us,
I think we should turn on this warning.
2019-04-30 13:24:25 -06:00
Jason Petersen 1125fc9da0 Fix self-strncmp in ConstrIsFKToReferenceTable
Make the function do what I assume was intended.
2019-04-30 13:24:25 -06:00
Hadi Moshayedi 885d48f87d
Merge pull request #2690 from citusdata/fix_diff
Normalize test results and expected files before comparing them.
2019-04-30 09:44:37 -08:00
Hadi Moshayedi a9f7c1e8cb Normalize test result/expected files before doing diff. 2019-04-30 10:19:23 -07:00
Hadi Moshayedi 4cb8ed0f9a
Merge pull request #2664 from citusdata/fix-ActivePlacementList
Don't schedule tasks on inactive nodes.
2019-04-26 10:11:58 -07:00
Hadi Moshayedi c9b1d9c2d1 Check all placements aren't inactive 2019-04-26 10:04:55 -07:00
Hadi Moshayedi 7b1d03772d Don't schedule tasks on inactive nodes. 2019-04-26 10:04:54 -07:00
Önder Kalacı 116c255d3d
Merge pull request #2683 from citusdata/order_by_fix_5
Add ORDER BYs to multi_subquery and subqueries_deep tests
2019-04-25 10:52:10 +02:00
Onder Kalaci 82813a8796 Add ORDER BYs to multi_subquery and subqueries_deep tests 2019-04-24 13:36:11 +03:00
Önder Kalacı 796141334d
Merge pull request #2677 from citusdata/implicitly_order_returning
Sort output of RETURNING
2019-04-24 11:24:42 +02: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
Önder Kalacı 6362c40865
Merge pull request #2678 from citusdata/order_by_another
Add some more ORDER BYs
2019-04-24 09:56:32 +02: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
Önder Kalacı 41f98f9c02
Merge pull request #2671 from citusdata/fix_more_orderbys
Fix more order bys
2019-04-18 08:31:16 +02: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 bcf393eea8
Merge pull request #2651 from citusdata/fix_constraint_naming
Address constraint naming issue

cr: @pykello
2019-04-16 14:32:18 -06:00