Commit Graph

1778 Commits (cmake_branch_point)

Author SHA1 Message Date
Brian Cloutier c088f85b73 Fix crash in multi_copy test 2018-04-11 17:34:33 -07:00
Brian Cloutier 21bd5654c0 make citus_indent happy 2018-04-11 17:34:33 -07:00
Brian Cloutier 667280650d Fix worker crash when coordinator disconnects 2018-04-11 17:34:33 -07:00
Brian Cloutier 73e1d81bb3 likely unnecessary hardening of COPY 2018-04-11 17:34:33 -07:00
Brian Cloutier e06e9842c0 Change intermediate_results test to not crash 2018-04-11 17:34:18 -07:00
Brian Cloutier efb89defc0 citus_indent 2018-04-11 17:34:17 -07:00
Brian Cloutier 3bebeadcea Fix temp directories in multi_copy 2018-04-11 17:34:17 -07:00
Brian Cloutier 99191cd8e4 Hack to fix another crash in intermediate results 2018-04-11 17:34:17 -07:00
Brian Cloutier c271c2350e Attempt to fix windows crash on intermediate_results 2018-04-11 17:34:17 -07:00
Brian Cloutier 71209054dc Fix cancellation of real time queries 2018-04-11 17:34:17 -07:00
Brian Cloutier 827b951d09 Fix crash on Windows where there is no detail 2018-04-11 17:34:17 -07:00
Brian Cloutier 7bbdb9e46e Configure appveyor to run regression tests
- Add install.pl to instal .sql files on Windows
- Remove a hack to PGDLLIMPORT some variables
- Add citus_version.o to the Makefile
- Fix pg_regress_multi's PATH generation on Windows
- Output regression.diffs when the tests fail
- Fix permissions in data directory, make sure postgres can play with it
2018-04-11 17:33:57 -07: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
Marco Slot 8e2c72c054
Merge pull request #2030 from citusdata/bool_agg
Add support for bool and bit aggregates
2018-02-28 13:08:35 +01:00
Murat Tuncer e13c5beced
Fix worker query when order by avg aggregate is used (#2024)
We push down order by to worker query when limit is specified
(with some other additional checks). If the query has an expression
on an aggregate or avg aggregate by itself, and there is an order
by on this particular target we may send wrong order by to worker
query with potential to affect query result.

The fix creates a auxilary target entry in the worker query and
uses that target entry for sorting.
2018-02-28 12:12:54 +03:00