Marco Slot
2e2b4e81fa
Add support for CTEs in distributed queries
2017-12-14 09:32:55 +01:00
Marco Slot
d0335ec818
Send BEGIN for SELECTs in the router executor
2017-12-14 09:32:55 +01:00
Marco Slot
cbbd418af2
Add citus.copy_format OIDs to metadata cache
2017-12-14 09:32:55 +01:00
Marco Slot
66f9f1d6cd
Make some intermediate results functions public
2017-12-14 09:32:55 +01:00
Marco Slot
36ee21c323
Make CanUseBinaryCopyFormatForType public
2017-12-14 09:32:55 +01:00
Marco Slot
7d1191954d
Add DistributedSubPlan node
2017-12-14 09:32:55 +01:00
Önder Kalacı
b5784ca03a
Merge pull request #1852 from citusdata/group_by_on_function
...
Treat recurring tuples as reference tables for GROUP BY checks
2017-12-13 16:37:31 +03:00
Onder Kalaci
86b2d9420c
Treat recurring tuples as reference table for GROUP BY checks
...
read_intermediate_results() and immutable functions are implemented.
Empty join trees seems not applicable here.
2017-12-13 14:55:42 +02:00
Marco Slot
f0851257fa
Merge pull request #1867 from citusdata/fix_analyze_block
...
Fix issue with multiple ANALYZE in transaction block
2017-12-12 10:54:27 +01:00
Marco Slot
d1a470a52e
Fix issue with multiple ANALYZE in transaction block
2017-12-12 10:28:48 +01:00
Mehmet Furkan ŞAHİN
84957fe6e7
Merge pull request #1861 from citusdata/new_guc_to_allow_task_executor_swap
...
New guc to allow automated task executor swap
2017-12-11 09:48:42 +03:00
mehmet furkan şahin
3c941aedf1
adds citus.enable_repartition_joins GUC
...
The new GUC allows Citus to switch between task executors
when necessary
2017-12-11 09:36:37 +03:00
Marco Slot
7544e91c87
Merge pull request #1860 from citusdata/needs_distributed_planning
...
Allow queries with local tables in NeedsDistributedPlanning
2017-12-08 10:11:07 +01:00
Marco Slot
5895c88552
Add materialized view regression tests
2017-12-07 16:20:23 +01:00
Marco Slot
60a1e31671
Allow queries with local tables in NeedsDistributedPlanning
2017-12-07 16:20:23 +01:00
Marco Slot
d71d519672
Merge pull request #1857 from citusdata/fix_intermediate_result
...
Use proper schema in read_intermediate_result signature
2017-12-07 14:20:10 +01:00
Marco Slot
f8550b8c85
Fix issues with read_intermediate_result signature
2017-12-07 13:47:56 +01:00
Marco Slot
d8fea4efb8
Revert "Allow queries with local tables in NeedsDistributedPlanning"
...
This reverts commit d2bac081e8
.
2017-12-07 11:19:11 +01:00
Marco Slot
d2bac081e8
Allow queries with local tables in NeedsDistributedPlanning
2017-12-07 11:02:16 +01:00
Ö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