-
Notifications
You must be signed in to change notification settings - Fork 2.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Gen4: Add UPDATE planning #9871
Commits on Apr 5, 2022
-
gen4: analyze simple update query
Signed-off-by: Harshit Gangal <harshit@planetscale.com>
Configuration menu - View commit details
-
Copy full SHA for c3d45ab - Browse repository at this point
Copy the full SHA c3d45abView commit details -
feat: addition of gen4UpdateStmtPlanner in the gen4_planner (wip) [ci…
… skip] Signed-off-by: Florent Poinsard <florent.poinsard@outlook.fr>
Configuration menu - View commit details
-
Copy full SHA for 0cd46fc - Browse repository at this point
Copy the full SHA 0cd46fcView commit details -
feat: support sqlparser.Statement in the semantic analyzer (wip) [ci …
…skip] Signed-off-by: Florent Poinsard <florent.poinsard@outlook.fr>
Configuration menu - View commit details
-
Copy full SHA for 977a1df - Browse repository at this point
Copy the full SHA 977a1dfView commit details -
feat: support unsharded update queries in gen4 without subqueries (wi…
…p) [ci skip] Signed-off-by: Florent Poinsard <florent.poinsard@outlook.fr>
Configuration menu - View commit details
-
Copy full SHA for 3c40a1e - Browse repository at this point
Copy the full SHA 3c40a1eView commit details -
feat: support sharded update queries in gen4 (wip) [ci skip]
Signed-off-by: Florent Poinsard <florent.poinsard@outlook.fr>
Configuration menu - View commit details
-
Copy full SHA for 946085f - Browse repository at this point
Copy the full SHA 946085fView commit details -
feat: support routed tables for update queries in gen4 (wip) [ci skip]
Signed-off-by: Florent Poinsard <florent.poinsard@outlook.fr>
Configuration menu - View commit details
-
Copy full SHA for e956085 - Browse repository at this point
Copy the full SHA e956085View commit details
Commits on Apr 6, 2022
-
feat: analyzer nows support subquery in update [ci skip]
Signed-off-by: Florent Poinsard <florent.poinsard@outlook.fr>
Configuration menu - View commit details
-
Copy full SHA for 30215c3 - Browse repository at this point
Copy the full SHA 30215c3View commit details -
feat: rewrite routed tables everywhere, not just on the updated table
Signed-off-by: Andres Taylor <andres@planetscale.com>
Configuration menu - View commit details
-
Copy full SHA for 13673f6 - Browse repository at this point
Copy the full SHA 13673f6View commit details -
test: updated test expectations to match the new error message
Signed-off-by: Andres Taylor <andres@planetscale.com>
Configuration menu - View commit details
-
Copy full SHA for c97f166 - Browse repository at this point
Copy the full SHA c97f166View commit details -
feat: add support for update in the logical operator structure
Signed-off-by: Andres Taylor <andres@planetscale.com>
Configuration menu - View commit details
-
Copy full SHA for 765f155 - Browse repository at this point
Copy the full SHA 765f155View commit details -
feat: add update to the physical operator list
Signed-off-by: Andres Taylor <andres@planetscale.com>
Configuration menu - View commit details
-
Copy full SHA for 29d8854 - Browse repository at this point
Copy the full SHA 29d8854View commit details
Commits on Apr 7, 2022
-
feat: produce a fuller physical operator for updates
Signed-off-by: Andres Taylor <andres@planetscale.com>
Configuration menu - View commit details
-
Copy full SHA for 148c3e3 - Browse repository at this point
Copy the full SHA 148c3e3View commit details
Commits on Apr 8, 2022
-
feat: represent UPDATE as a physical operator
Signed-off-by: Andres Taylor <andres@planetscale.com>
Configuration menu - View commit details
-
Copy full SHA for 4504582 - Browse repository at this point
Copy the full SHA 4504582View commit details -
feat: handle single sharded update queries
Signed-off-by: Andres Taylor <andres@planetscale.com>
Configuration menu - View commit details
-
Copy full SHA for 63b1db2 - Browse repository at this point
Copy the full SHA 63b1db2View commit details -
feat: consider all vindexes for routing
Signed-off-by: Andres Taylor <andres@planetscale.com>
Configuration menu - View commit details
-
Copy full SHA for 1bba4d6 - Browse repository at this point
Copy the full SHA 1bba4d6View commit details -
feat: support Update's MultiShardAutocommit and QueryTimeout in Gen4
Signed-off-by: Florent Poinsard <florent.poinsard@outlook.fr>
Configuration menu - View commit details
-
Copy full SHA for 50a81b9 - Browse repository at this point
Copy the full SHA 50a81b9View commit details -
feat: begin supporting subqueries in update
Signed-off-by: Florent Poinsard <florent.poinsard@outlook.fr>
Configuration menu - View commit details
-
Copy full SHA for 84d9e78 - Browse repository at this point
Copy the full SHA 84d9e78View commit details -
feat: fix subquery support in gen4's update for sharded subquery
Signed-off-by: Florent Poinsard <florent.poinsard@outlook.fr>
Configuration menu - View commit details
-
Copy full SHA for a0213ec - Browse repository at this point
Copy the full SHA a0213ecView commit details -
feat: fix expected output for multicol vindex update
Signed-off-by: Florent Poinsard <florent.poinsard@outlook.fr>
Configuration menu - View commit details
-
Copy full SHA for cfad564 - Browse repository at this point
Copy the full SHA cfad564View commit details -
feat: merge subqueries with update with literal values
Signed-off-by: Andres Taylor <andres@planetscale.com>
Configuration menu - View commit details
-
Copy full SHA for cd7b2ff - Browse repository at this point
Copy the full SHA cd7b2ffView commit details
Commits on Apr 10, 2022
-
feat: make it possible to merge operators other than SELECT
Signed-off-by: Andres Taylor <andres@planetscale.com>
Configuration menu - View commit details
-
Copy full SHA for ee7d40a - Browse repository at this point
Copy the full SHA ee7d40aView commit details
Commits on Apr 11, 2022
-
Merge branch main into gen4-update
Signed-off-by: Andres Taylor <andres@planetscale.com>
Configuration menu - View commit details
-
Copy full SHA for 9931b09 - Browse repository at this point
Copy the full SHA 9931b09View commit details -
Signed-off-by: Andres Taylor <andres@planetscale.com>
Configuration menu - View commit details
-
Copy full SHA for d80a4c7 - Browse repository at this point
Copy the full SHA d80a4c7View commit details -
Signed-off-by: Andres Taylor <andres@planetscale.com>
Configuration menu - View commit details
-
Copy full SHA for 088bab6 - Browse repository at this point
Copy the full SHA 088bab6View commit details -
feat: add locking for the read part of updates with subqueries
Signed-off-by: Andres Taylor <andres@planetscale.com>
Configuration menu - View commit details
-
Copy full SHA for 92c693f - Browse repository at this point
Copy the full SHA 92c693fView commit details -
refactor: clean up operator transformers
Signed-off-by: Andres Taylor <andres@planetscale.com>
Configuration menu - View commit details
-
Copy full SHA for 66ce4b3 - Browse repository at this point
Copy the full SHA 66ce4b3View commit details -
test: update tests now that update goes through semantic analysis
Signed-off-by: Andres Taylor <andres@planetscale.com>
Configuration menu - View commit details
-
Copy full SHA for ce3d73c - Browse repository at this point
Copy the full SHA ce3d73cView commit details -
feat: handle extracted subqueries when planning update evalengine exp…
…ressions Signed-off-by: Andres Taylor <andres@planetscale.com>
Configuration menu - View commit details
-
Copy full SHA for 8d863b7 - Browse repository at this point
Copy the full SHA 8d863b7View commit details
Commits on Apr 12, 2022
-
test: turn off Gen4 vs V3 comparisons on everything except SELECT and…
… UNION Signed-off-by: Andres Taylor <andres@planetscale.com>
Configuration menu - View commit details
-
Copy full SHA for ae8a27f - Browse repository at this point
Copy the full SHA ae8a27fView commit details -
Merge branch main into gen4-update
Signed-off-by: Andres Taylor <andres@planetscale.com>
Configuration menu - View commit details
-
Copy full SHA for 2c49426 - Browse repository at this point
Copy the full SHA 2c49426View commit details -
feat: allow explitly routed UPDATE queries
Signed-off-by: Andres Taylor <andres@planetscale.com>
Configuration menu - View commit details
-
Copy full SHA for d9ae23c - Browse repository at this point
Copy the full SHA d9ae23cView commit details -
chore: update proto definitions
Signed-off-by: Andres Taylor <andres@planetscale.com>
Configuration menu - View commit details
-
Copy full SHA for 4b42831 - Browse repository at this point
Copy the full SHA 4b42831View commit details
Commits on Apr 13, 2022
-
chore: addressed review comments
Signed-off-by: Andres Taylor <andres@planetscale.com>
Configuration menu - View commit details
-
Copy full SHA for 498ea25 - Browse repository at this point
Copy the full SHA 498ea25View commit details -
feat: fail on UPDATE with derived table with the proper error
Signed-off-by: Andres Taylor <andres@planetscale.com>
Configuration menu - View commit details
-
Copy full SHA for 42e2f59 - Browse repository at this point
Copy the full SHA 42e2f59View commit details -
Merge branch main into gen4-update
Signed-off-by: Andres Taylor <andres@planetscale.com>
Configuration menu - View commit details
-
Copy full SHA for 9c7c8ed - Browse repository at this point
Copy the full SHA 9c7c8edView commit details