Önder Kalacı
3ceb15ccdf
Merge pull request #1851 from citusdata/fix_annoying_bug
...
Fix bug related to incrementing an index not properly
2017-12-07 10:33:37 +03:00
Onder Kalaci
c42a92afd2
Fix bug related to incrementing an index not properly
2017-12-07 08:50:57 +02:00
Marco Slot
d336167313
Merge pull request #1856 from citusdata/create_drop_deadlock
...
Avoid deadlock with DROP TABLE in ColocatedTableId
2017-12-06 12:03:52 +01:00
Marco Slot
eab15aa035
Avoid deadlock in ColocatedTableId
2017-12-06 11:49:34 +01:00
Metin Döşlü
75eff340e1
Merge pull request #1854 from citusdata/fix_valgrind_tests
...
Increase sleep time in a regression test to give Valgrind tests enough time
2017-12-05 16:36:34 +03:00
metdos
12d5974d97
Increase sleep time in a regression test to give Valgrind tests enough time
2017-12-05 14:59:37 +02:00
Marco Slot
98522d8d7f
Merge pull request #1829 from citusdata/intermediate_result
...
Add infrastructure for moving around intermediate results
2017-12-04 15:02:53 +01:00
Marco Slot
7279d42849
Treat read_intermediate_result as recurring tuples
2017-12-04 14:50:11 +01:00
Marco Slot
716448ddef
Add regression tests for intermediate results
2017-12-04 14:50:11 +01:00
Marco Slot
4cdadfcab6
Add intermediate results infrastructure
2017-12-04 14:50:11 +01:00
Marco Slot
bfcc76df69
Make several COPY-related functions public
2017-12-04 13:12:03 +01:00
Marco Slot
73989b07eb
Refactor query execution functions
2017-12-04 13:12:03 +01:00
Murat Tuncer
2d66bf5f16
Fix hard coded formatting strings for 64 bit numbers ( #1831 )
...
Postgres provides OS agnosting formatting macros for
formatting 64 bit numbers. Replaced %ld %lu with
INT64_FORMAT and UINT64_FORMAT respectively.
Also found some incorrect usages of formatting
flags and fixed them.
2017-12-04 14:11:06 +03:00
Burak Velioglu
f77f8c30dc
Merge pull request #1845 from citusdata/test_release_71
...
Add CHANGELOG entry for 7.1.1
2017-12-01 13:53:47 +03:00
Burak
01a3e7414f
Add CHANGELOG entry for 7.1.1
2017-12-01 12:01:06 +03:00
Hadi Moshayedi
ff706cf556
Test that COPY blocks UPDATE/DELETE/INSERT...SELECT when rep factor 2.
2017-11-30 14:52:29 -05:00
Marco Slot
acbc0fe0de
Use RowExclusiveLock shard resource lock in COPY
2017-11-30 09:15:45 -05:00
Önder Kalacı
b685dfa99f
Merge pull request #1838 from citusdata/fix_common_eq_class
...
The common attribute equivalence class should always include the input relations
2017-11-30 17:14:04 +03:00
Onder Kalaci
a273711500
The common attribute equivalance class always includes the input relations
...
We added the ability to filter out the planner restriction information
for specific parts of the query. This might lead to situations where
the common restriction includes some other relations that we're searching
for. The reason is that while filtering for join restrictions, we add the
restriction as soon as we find the relation.
With this commit we make sure that the common attribute
equivalance class always includes the input relations.
2017-11-30 16:00:26 +02:00
Marco Slot
8cb5734481
Merge pull request #1841 from citusdata/send_begin
...
Send begin in real-time executor when in a coordinated transaction
2017-11-30 13:20:32 +01:00
Marco Slot
0d6a7f5884
Add real-time BEGIN regression tests
2017-11-30 12:59:09 +01:00
Marco Slot
d6dd0b3a81
Send BEGIN in the real-time executor when in a transaction
2017-11-30 12:59:09 +01:00
Marco Slot
581c8c02cc
Merge pull request #1840 from citusdata/remove_filter_checks
...
Remove filter checks on leaf queries
2017-11-30 12:52:11 +01:00
Marco Slot
3a4d5f8182
Remove filter checks on leaf queries
2017-11-30 12:25:14 +01:00
Marco Slot
7b8f13cf35
Merge pull request #1839 from citusdata/union_joins
...
Support UNION with joins in the subqueries
2017-11-30 10:53:54 +01:00
Marco Slot
3f03cb6a6a
Support UNION with joins in the subqueries
2017-11-30 10:37:56 +01:00
Burak Velioglu
906dadddb7
Merge pull request #1785 from citusdata/real_time_xact
...
Make real-time executor work in transactions (and fix pg_partman)
2017-11-30 10:21:29 +03:00
Marco Slot
a9933deac6
Make real time executor work in transactions
2017-11-30 09:59:32 +03:00
Jason Petersen
73cadbecd6
Merge pull request #1836 from citusdata/fix_vacuum_analyze_propagation
...
Ensure VACUUM/ANALYZE stays local when unsupported or DDL prop disabled
cr: @pykello
2017-11-29 16:36:46 -08:00
mehmet furkan şahin
6041f85b70
Add tests for non-propagated VACUUM/ANALYZE
2017-11-29 16:06:50 -07:00
Jason Petersen
0eacf6bd95
Refactor VacuumStmt checker to be single-return
...
Decided this would be safer for the future (defaults to unsupported).
2017-11-29 16:06:50 -07:00
Jason Petersen
b12e77ab0e
Ensure unsupported VACUUMs don't go to workers
...
Apparently these two blocks have been incorrect for nearly a year…
2017-11-29 16:06:50 -07:00
Marco Slot
878d8192c4
Merge pull request #1835 from citusdata/zero_shard
...
Round-robin over worker nodes for 0-shard router queries
2017-11-29 18:49:46 +01:00
Marco Slot
7ea718fd8d
Round-robin over worker nodes for 0-shard router queries
2017-11-29 15:52:22 +01:00
Marco Slot
ae67fa0e52
Do not run multi_mx_modifications in parallel with multi_mx_transaction_recovery
2017-11-29 15:35:21 +01:00
Mehmet Furkan ŞAHİN
198438978e
Merge pull request #1826 from citusdata/regression_data_ax
...
Regression data is reduced from 10K to 100 for
events_table and users_table
2017-11-28 15:16:03 +03:00
mehmet furkan şahin
b6eb0c2823
multi_subquery_behavioral_analytics.sql query fix by adding proper order by
2017-11-28 14:15:46 +03:00
mehmet furkan şahin
1b06b2b306
The data used in regression tests is reduced
...
This commit reduces the size of the data in users_table.data
and events_table.data from 10K rows to 100 rows.
2017-11-28 14:15:46 +03:00
Önder Kalacı
74b9bc409c
Merge pull request #1833 from citusdata/granular_subquery_pushdown
...
Refactor relation restriction equivalence checks to be more granular for subqueries
2017-11-28 11:56:26 +03:00
Onder Kalaci
05fb0dd020
Add infrastructure for filtering restriction contexts based on the input query
...
In subquery pushdown, we first ensure that each relation is joined with at least
on another relation on the partition keys. That's fine given that the decision
is binary: pushdown the query at all or not.
With recursive planning, we'd want to check whether any specific part
of the query can be pushded down or not. Thus, we need the ability to
understand which part(s) of the subquery is safe to pushdown. This commit
adds the infrastructure for doing that.
2017-11-28 09:58:21 +02:00
Onder Kalaci
26d9b58e9e
Make sure that ExtractRangeTableRelationWalker never misses RTE_RELATION
2017-11-28 09:27:34 +02:00
Onder Kalaci
32def06ebd
Split assigning RTE identities and partitioning related query modifications
...
Note that we used to iterate over the RTEs once for performance reasons.
However, keeping an extra copy of original query seems more costly and
hard to maintain/explain.
2017-11-28 09:27:34 +02:00
Marco Slot
271b9392e2
Merge pull request #1834 from citusdata/function_pushdown
...
Subqueries containing functions go through subquery pushdown
2017-11-27 22:24:48 +01:00
Marco Slot
feffe86440
Subqueries containing functions go through subquery pushdown
2017-11-27 22:13:02 +01:00
Önder Kalacı
8877a68a1f
Merge pull request #1827 from citusdata/allow_non_equi_joins
...
Enable non equi joins in subquery pushdown
2017-11-23 17:51:02 +03:00
Onder Kalaci
48f96bf3e5
Enable non equi joins in subquery pushdown
...
Subquery pushdown planning is based on relation restriction
equivalnce. This brings us the opportuneatly to allow any
other joins as long as there is an already equi join between
the distributed tables.
We already allow that for joins with reference tables and
this commit allows that for joins among distributed tables.
2017-11-23 16:13:46 +02:00
Mehmet Furkan ŞAHİN
ae2c86dbdd
Merge pull request #1823 from citusdata/regression_parallelization
...
Regression parallelization - PART 2
2017-11-23 14:37:33 +03:00
mehmet furkan şahin
032b34ea52
some more parallelization
2017-11-23 14:10:42 +03:00
Önder Kalacı
309ba9f0d6
Merge pull request #1825 from citusdata/register_custom_scans
...
Register custom scans
2017-11-23 13:00:58 +03:00
Onder Kalaci
16421f089f
Register citus custom scan nodes
2017-11-23 11:38:33 +02:00