Commit Graph

1780 Commits (d02f761d8e65b2f3014b4fddc3d6b73e34b26e8e)

Author SHA1 Message Date
Brian Cloutier d02f761d8e Change intermediate_results test to not crash 2018-04-17 15:14:02 -07:00
Brian Cloutier 0104790385 Fix hard-coded temp directory in multi_copy
/tmp does not exist on Windows, use :temp_dir instead
2018-04-17 15:01:22 -07:00
Brian Cloutier a59c1c634e Fix cancellation of real time queries
Without this change multi_real_time_transaction blocks forever (on
Windows) in the block where it repeatedly calls pg_advisory_lock(15).
This happens because the deadlock detector tries to cancel the backend
but the backend never processes that signal.
2018-04-17 14:26:22 -07:00
Mehmet Furkan ŞAHİN cd43d48608
Merge pull request #2109 from citusdata/capital_schema_support
Quotation needy schema name support
2018-04-17 22:21:55 +03:00
mehmet furkan şahin 00e786af00 Capital named schema support is added 2018-04-17 17:17:42 +03:00
Mehmet Furkan ŞAHİN de6d3f2d33
Merge pull request #2102 from citusdata/push_down_multiple_having
This is a fairly simple PR that changes the AND clauses in having explicit for worker queries for pushdown planner. Since, they are going to be switched back to be implicit in worker itself, we should provide them in explicit form. Otherwise, the worker errors-out saying the query syntax is wrong.
2018-04-16 15:30:05 +03:00
mehmet furkan şahin e5a5502b16 Adds support for multiple ANDs in Having
This PR adds support for multiple AND expressions in Having
for pushdown planner. We simply make a call to make_ands_explicit
from MultiLogicalPlanOptimize for the having qual in
workerExtendedOpNode.
2018-04-16 14:14:48 +03:00
Brian Cloutier 42ddfa176d Fix crash on Windows where there is no detail 2018-04-13 12:54:22 -07:00
Burak Velioglu f54ed5d3b0
Merge pull request #1980 from citusdata/remove_boradcast_pr3_v2
Convert broadcast join to reference join
2018-04-13 16:44:55 +03:00
velioglu 82b2d21b0c Convert broadcast join to reference join
After this commit large_table_shard_count wont be used to
check whether broadcast join, which is renamed as reference
join, can be applied. Reference join can only be applied over
reference tables.
2018-04-13 12:58:14 +03:00
Burak Velioglu 561d9b217c
Merge pull request #2103 from citusdata/fix_copartition_check
Add co-placement check to CoPartitionedTable
2018-04-13 12:28:56 +03:00
velioglu 1b92812be2 Add co-placement check to CoPartition function 2018-04-13 12:13:08 +03:00
Marco Slot b4c9e2c1ea
Merge pull request #2089 from citusdata/fix_size_query
Fix issue preventing multiple size function calls per query
2018-04-12 14:44:34 +02:00
Marco Slot 9318aeee6b Allow multiple size function calls per query 2018-04-12 14:16:17 +02:00
Marco Slot 6df6d841c9
Merge pull request #2013 from citusdata/subquery_pruning
Prune shards once per relation in subquery pushdown
2018-04-10 20:19:09 +02:00
Marco Slot ee132c5ead Prune shards once per relation in subquery pushdown 2018-04-10 20:33:07 +02:00
Burak Yücesoy 3873d6858d
Merge pull request #2088 from citusdata/fix-drop-partitioning-table-from-worker
Prevent DROPping partitioned tables from workers
2018-04-09 14:37:03 +03:00
Burak Yucesoy b33b282030 Fix bug while DROPping partitioned table from worker
We recently added partitionin support to Citus MX. We should not execute
DROP table commands from MX workers but at the moment we try to execute
such commands for partitioned tables. This PR fixes that problem by
adding check.
2018-04-09 13:50:21 +03:00
Burak Yücesoy 0699fbe281
Merge pull request #2083 from citusdata/add_partitioning_support_to_mx
Add partitioning support to MX tables
2018-04-06 13:46:46 +03:00
Burak Yucesoy 0c283fa8a3 Add partitioning support to MX tables
Previously, we prevented creation of partitioned tables on Citus MX.
We decided to not focus on this feature until there is a need. Since
now there are requests for this feature, we are implementing support
for partitioned tables on Citus MX.
2018-04-06 12:47:06 +03:00
Burak Velioglu 86b733d14c
Merge pull request #2060 from citusdata/master-update-version-1521121896
Bump citus version to 7.4devel
2018-04-05 21:01:23 +03:00
velioglu f01daa0c83 Bump citus version to 7.4devel 2018-04-05 20:38:47 +03:00
Burak Velioglu aa0aea9840
Merge pull request #1974 from citusdata/remove_broadcast_pr2_v2
Adds colocation check to local join
2018-04-04 23:19:13 +03:00
velioglu 72dfe4a289 Adds colocation check to local join 2018-04-04 22:49:27 +03:00
Burak Velioglu 236298823c
Merge pull request #1915 from citusdata/remove_broadcast_pr1
Removes data fetch related logic
2018-03-30 14:33:11 +03:00
velioglu 82a864308a Remove SHARD_STORAGE_RELAY type 2018-03-30 11:45:19 +03:00
velioglu 698d585fb5 Remove broadcast join logic
After this change all the logic related to shard data fetch logic
will be removed. Planner won't plan any ShardFetchTask anymore.
Shard fetch related steps in real time executor and task-tracker
executor have been removed.
2018-03-30 11:45:19 +03:00
Matthew Wozniczka 4582a4b398 Fixed a typo 2018-03-27 22:51:36 -06:00
Murat Tuncer 1cb8e5b4bf Fix isolation tests for windows echo command 2018-03-27 14:18:48 -07:00
Brian Cloutier 9aff4384a1 Make tests platform independent
- Force all platforms to use the same collation
- Force all platforms to use the same locale
- Use /dev/null or NUL, depending on platform
- Use /tmp or %TEMP%, dpeending on platform
2018-03-27 14:18:48 -07:00
Brian Cloutier 2140b5d82d Make pg_regress_multi.pl platform independent
- don't hardcode path names
- replace system calls for rm/mkdir/rm -rf with perl equivalents
- force utf-8 encoding
- the Windows shell uses different quoting and escape rules
2018-03-27 14:18:48 -07:00
Brian Cloutier adb4669d34 Add appveyor.yml, support builds on Windows 2018-03-23 16:54:33 -07:00
Brian Cloutier f8f0d4aedc Add Windows replacement for uname 2018-03-21 20:35:56 -07:00
Brian Cloutier 98ffafe16e Fix error handling in connection_management 2018-03-21 20:05:00 -07:00
Murat Tuncer 224b0a8c14 Replace poll with select/poll
Windows does not have poll(), so fall back to select()
2018-03-21 20:05:00 -07:00
Burak Velioglu 997e718b26
Merge pull request #2062 from citusdata/add_missing_changelog
Adds missing changelog items for the 7.3
2018-03-16 09:59:05 +03:00
velioglu cd2a167e48 Adds missing changelog items for the 7.3 2018-03-16 09:47:20 +03:00
Burak Velioglu 991000efc9
Merge pull request #2055 from citusdata/citus-7.3.0-changelog-1521010978
Bump citus to 7.3.0
2018-03-15 13:49:43 +03:00
velioglu cbe7799863 Add changelog entry for 7.3.0 2018-03-15 10:58:36 +03:00
Metin Döşlü 81cbb7c223
Merge pull request #2051 from citusdata/remove_skip_jsonb_validation_in_copy
Remove skip_jsonb_validation_in_copy GUC
2018-03-13 18:38:43 +03:00
Metin Doslu 3b7b64a8b6 Remove skip_jsonb_validation_in_copy GUC 2018-03-13 10:33:27 +02:00
Murat Tuncer 1440caeef2
Fix incorrect limit pushdown when distinct clause is not superset of group by (#2035)
Pushing down limit and order by into workers may produce
wrong output when distinct on() clause has expressions,
aggregates, or window functions.

This checking allows pushing down of limits only if
distinct clause is a superset of group by clause. i.e. it contains all clauses in group by.
2018-03-07 13:24:56 +03:00
Metin Döşlü 27d159d6f6
Merge pull request #2041 from citusdata/make_skip_jsonb_validation_in_copy_off
Change default to false for citus.skip_jsonb_validation_in_copy
2018-03-06 14:43:58 +03:00
Metin Doslu e86d34256c Change default to false for citus.skip_jsonb_validation_in_copy 2018-03-06 13:19:47 +02:00
Önder Kalacı 1d2a2d13cb
Merge pull request #2038 from citusdata/fix_modify_subquery
Improve error messages for INSERT queries that have subqueries
2018-03-05 16:49:53 +03:00
Onder Kalaci 40b898b59f Improve error messages for INSERT queries that have subqueries 2018-03-05 14:46:47 +02:00
Önder Kalacı e7b28dd469
Merge pull request #2031 from citusdata/fix_immediate_shut_down_issue
Improve error handling on failures
2018-03-02 10:04:12 +03:00
Onder Kalaci 7dc9589b56 Handle failures during I/O
This commit checks the connection status right after any IO happens
on the socket.

This is necessary since before this commit we didn't pass any information
to the higher level functions whether we're done with the connection
(e.g., no IO required anymore) or an errors happened during the IO.
2018-03-02 08:33:53 +02:00
Onder Kalaci da0048e0b7 ForgetResults() becomes a wrapper for ClearResults()
ClearResults() is able to handle failures properly by
checking the result status. So, relying on it makes
error handling more generic in Citus.
2018-03-02 08:33:53 +02:00
Murat Tuncer 76f6883d5d
Add support for window functions that can be pushed down to worker (#2008)
This is the first of series of window function work.

We can now support window functions that can be pushed down to workers.
Window function must have distribution column in the partition clause
 to be pushed down.
2018-03-01 19:07:07 +03:00