{"push_id":1129907674,"size":1,"distinct_size":1,"ref":"refs/heads/multi_shard_delete","head":"944cdf7eb6bc83ddeb05aaf856e0a9955765ac1d","before":"5fc6ded3ccb4bc7374748a3464611cfc545a8c09","commits":[{"sha":"944cdf7eb6bc83ddeb05aaf856e0a9955765ac1d","author":{"email":"0714dc616af0952fd1685408641d796210cc245a@citusdata.com","name":"eren"},"message":"ADD master_modify_multiple_shards UDF\n\nFixes #10\n\nThis change creates a new UDF: master_modify_multiple_shards\nParameters:\n  modify_query: A simple DELETE or UPDATE query as a string.\n\nThe UDF is similar to the existing master_apply_delete_command UDF.\nBasically, given the modify query, it prunes the shard list, re-constructs\nthe query for each shard and sends the query to the placements.\n\nDepending on the value of citus.multi_shard_commit_protocol, the commit\ncan be done in one-phase or two-phase manner.\n\nLimitations:\n* It cannot be called inside a transaction block\n* It only be called with simple operator expressions (like Single Shard Modify)\n\nSample Usage:\n```\nSELECT master_modify_multiple_shards(\n  'DELETE FROM customer_delete_protocol WHERE c_custkey > 500 AND c_custkey < 500');\n```","distinct":true,"url":"https://api.github.com/repos/citusdata/citus/commits/944cdf7eb6bc83ddeb05aaf856e0a9955765ac1d"}]}
{"actor":{"display_login":"aamederen"}}