Jelte Fennema
883ee9121f
Normalize tests: shard table names in foreign_key_to_reference_table
2020-01-06 09:32:03 +01:00
Jelte Fennema
7f3de68b0d
Normalize tests: header separator length
2020-01-06 09:32:03 +01:00
Philip Dubé
51a7e661f9
Merge pull request #3349 from citusdata/ensure-no-intermediate-data-leak-at-end
...
End regression tests with ensure_no_intermediate_data_leak
2020-01-03 19:20:28 +00:00
Philip Dubé
566246ecd4
End regression tests with ensure_no_intermediate_data_leak
...
Also update tests to clean up jobs when they're directly testing job udfs
2020-01-03 18:59:02 +00:00
Önder Kalacı
0c70a5470e
Allow RETURNING in fast-path queries ( #3352 )
...
* Allow RETURNING in fast-path queries
Because there is no specific reason for that.
2020-01-03 13:42:50 +00:00
Önder Kalacı
a174eb4f7b
Do not go through standard_planner() for INSERTs ( #3348 )
...
That seems unnecessary. We already have the notion of FastPath queries,
simply add it there.
2020-01-03 12:15:22 +00:00
Jelte Fennema
75a9c25acd
Normalize tests: s/node group [12] (but|does)/node group \1/
2020-01-03 11:46:01 +01:00
Jelte Fennema
96434e898f
Normalize tests: s/assigned task [0-9]+ to node/assigned task to node/
2020-01-03 11:45:22 +01:00
Jelte Fennema
7b833466ba
Normalize tests: s/shard [0-9]+/shard xxxxx/g
2020-01-03 11:44:30 +01:00
Jelte Fennema
8b5fe8aa17
Normalize tests: s/placement [0-9]+/placement xxxxx/g
2020-01-03 11:42:48 +01:00
Jelte Fennema
f21f00544e
Normalize tests: s/ port=[0-9]+ / port=xxxxx /g
2020-01-03 11:42:09 +01:00
Jelte Fennema
8c5c0dd74c
Normalize tests: s/localhost:[0-9]+/localhost:xxxxx/g
2020-01-03 11:40:50 +01:00
Jelte Fennema
a1ff2117bf
Ignore .modified and .unmodified files in git
2020-01-03 11:38:12 +01:00
Jelte Fennema
7630029a7f
Keep an .unmodified file for debugging
2020-01-03 11:30:08 +01:00
Jelte Fennema
9a819d401a
Ensure that only normalized test output is commited
2020-01-03 11:30:08 +01:00
Jelte Fennema
8fae3ed800
Remove trailing whitespace during normalization in test output
2020-01-03 11:30:08 +01:00
Jelte Fennema
b815425d2c
Make diff normalize our test output files in place
2020-01-03 11:30:08 +01:00
Philip Dubé
3cfb9b64bf
Merge pull request #3351 from citusdata/uncomment-working-tests
...
Uncomment local execution EXPLAIN ANALYZE tests
2020-01-02 19:01:42 +00:00
Jelte Fennema
5fee9d04c9
Uncomment local execution EXPLAIN ANALYZE tests
2020-01-02 18:56:32 +00:00
Marco Slot
5a9d31f136
Fix union (all) pushdown issue ( #3306 )
...
Fix union (all) pushdown issue
2020-01-02 13:56:06 +01:00
Marco Slot
ba39d72fe1
Fix incorrect union all pushdown issue
2020-01-01 09:03:50 +01:00
Hanefi Onaldi
7a909fc807
Add changelog entry for 9.1.2
2019-12-30 11:33:10 +03:00
Jelte Fennema
0cd5d6ac49
Support any inner join on a reference table ( #3323 )
...
This PR works by doing two things:
1. Expand the notion of a join condition to any expression that contains
columns from two or more tables.
2. Support cartesian products on reference tables.
Cartesian products on reference tables are considered in the join order planner
as the least desirable join (except for normal cartesian products). That way
they will be done at the end of the join. This is preferable since the
cartesian product multiplies the rows. By doing it at the end at least these
multiplications of rows will not be sent over the network when doing
repartitioning, only when sending to the master.
Fixes #3079
Fixes #3198
2019-12-27 15:14:50 +01:00
Jelte Fennema
cf88bdf833
Add tests for complex joins on reference tables
2019-12-27 15:05:51 +01:00
Jelte Fennema
3a042e4611
Allow cartesian products on reference tables
2019-12-27 15:05:51 +01:00
Jelte Fennema
61e2501645
Make any expression with two or more tables a join expression
2019-12-27 15:05:51 +01:00
Jelte Fennema
4233cd0d9d
Allow non equi joins on reference tables
2019-12-27 15:05:51 +01:00
Jelte Fennema
7642928be1
Makefile fix DESTDIR together with cleanup ( #3342 )
...
This should fix this build issue: redmine.postgresql.org/issues/5032
2019-12-27 10:34:57 +01:00
Philip Dubé
e91755f73c
Merge pull request #3307 from citusdata/group_by_speedup
...
Do not repeat GROUP BY distribution_column on coordinator
2019-12-25 01:39:56 +00:00
Marco Slot
b21b6905ae
Do not repeat GROUP BY distribution_column on coordinator
...
Allow arbitrary aggregates to be pushed down in these scenarios
2019-12-25 01:33:41 +00:00
Philip Dubé
11368451f4
Merge pull request #3344 from citusdata/fix-extension-already-exists-test
...
Fix tests when hll/topn installed
2019-12-24 21:45:36 +00:00
Philip Dubé
a6ffcab59d
CREATE EXTENSION is propagated now
2019-12-24 21:04:37 +00:00
Marco Slot
ee71b24538
Fix inconsistent shard metadata issue ( #3334 )
...
Fix inconsistent shard metadata issue
2019-12-24 13:28:17 +01:00
Hadi Moshayedi
10605f8a26
Merge pull request #3329 from citusdata/predistribute
...
Partitioned intermediate results
2019-12-24 04:00:43 -08:00
Hadi Moshayedi
d7aea7fa10
Implement partitioned intermediate results.
2019-12-24 03:53:39 -08:00
Marco Slot
1aef63abfb
Fix error in distributed queries when shards are on the coordin… ( #3308 )
...
Fix error in distributed queries when shards are on the coordinator
2019-12-24 12:14:55 +01:00
Marco Slot
a2ddfecd86
Fix inconsistent shard metadata issue
2019-12-24 08:01:32 +01:00
Marco Slot
b37ef0e394
Fix error in distributed queries when shards are on the coordinator
2019-12-24 06:36:43 +01:00
Philip Dubé
2349f838a1
Merge pull request #3316 from citusdata/fix-empty-agg-combine
...
Fix handling of empty intermediate results when distributing custom aggregates
2019-12-23 17:38:52 +00:00
Philip Dubé
e9bbdb8f31
Fix handling of empty intermediate results when distributing custom aggregates
2019-12-23 17:27:52 +00:00
Hadi Moshayedi
bb6ba89708
Merge pull request #3327 from citusdata/fix_reindent
...
Fix reindent version inconsistencies.
2019-12-20 08:38:15 -08:00
Philip Dubé
f007b7f91d
Also fix reindent inconsistencies with fake_fdw.c
2019-12-20 08:27:47 +00:00
Hadi Moshayedi
08eb0ade31
Fix reindent version inconsistencies.
...
Different versions of reindent tool reformatted citus_custom_scan.c
and citus_copyfuncs.c differently. So some developers spent some
extra attention not to commit these two files after reindent.
This PR tries to address this.
2019-12-19 23:10:34 -08:00
Jelte Fennema
b655c02352
Add the necessary changes for rebalance strategies on enterprise ( #3325 )
...
This commit adds the SQL and C changes necessary to support custom rebalance
strategies in the Enterprise version of Citus.
2019-12-19 15:23:08 +01:00
Hadi Moshayedi
c9ceff7d78
Merge pull request #3318 from citusdata/fetch_intermediate_results
...
Implement fetch_intermediate_results
2019-12-18 10:51:56 -08:00
Hadi Moshayedi
ef487e0792
Implement fetch_intermediate_results
2019-12-18 10:46:35 -08:00
Onur TIRTIR
eb3c1b4eb4
Add changelog entry for 9.1.1 ( #3321 )
2019-12-18 15:32:48 +03:00
Hadi Moshayedi
e96201c609
Merge pull request #3304 from citusdata/read_intermediate_results
...
Implement read_intermediate_results
2019-12-17 14:08:39 -08:00
Hadi Moshayedi
249508d267
Estimate cost of read_intermediate_results()
2019-12-17 13:51:51 -08:00
Hadi Moshayedi
113bd1e5f1
Implement read_intermediate_results
2019-12-17 13:51:16 -08:00