Commit Graph

1778 Commits (cmake_branch_point)

Author SHA1 Message Date
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
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