-
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
Foreign key on update action with non literal values #14278
Commits on Oct 17, 2023
-
store child foreign key to update exprs mapping
Signed-off-by: Harshit Gangal <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 5002c3a - Browse repository at this point
Copy the full SHA 5002c3aView commit details -
refactor: add only unique columns to select expressions
Signed-off-by: Harshit Gangal <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 929b7b7 - Browse repository at this point
Copy the full SHA 929b7b7View commit details
Commits on Oct 18, 2023
-
Merge remote-tracking branch 'upstream/main' into fk-updstmt
Signed-off-by: Manan Gupta <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 3bcf8ae - Browse repository at this point
Copy the full SHA 3bcf8aeView commit details -
test: improve the fuzzer test to generate expressions containing colu…
…mns and literals for update queries Signed-off-by: Manan Gupta <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for fab5e3f - Browse repository at this point
Copy the full SHA fab5e3fView commit details
Commits on Oct 19, 2023
-
feat: add basic planning and execution support for update non-literal…
… queries Signed-off-by: Manan Gupta <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for f7734cd - Browse repository at this point
Copy the full SHA f7734cdView commit details -
test: update tests and only print values if they aren't empty
Signed-off-by: Manan Gupta <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for c0c9ae6 - Browse repository at this point
Copy the full SHA c0c9ae6View commit details -
feat: handle nils in comperator expression
Signed-off-by: Manan Gupta <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for ca13490 - Browse repository at this point
Copy the full SHA ca13490View commit details -
Signed-off-by: Manan Gupta <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for a68c8d6 - Browse repository at this point
Copy the full SHA a68c8d6View commit details -
feat: copy the order by from the update query
Signed-off-by: Manan Gupta <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 27a78be - Browse repository at this point
Copy the full SHA 27a78beView commit details -
feat: turn off foreign key checks on updates that have foreign key co…
…lumns being set to non-literal values Signed-off-by: Manan Gupta <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 9b191a5 - Browse repository at this point
Copy the full SHA 9b191a5View commit details
Commits on Oct 20, 2023
-
Merge remote-tracking branch 'upstream/main' into fk-updstmt
Signed-off-by: Manan Gupta <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 17c8d90 - Browse repository at this point
Copy the full SHA 17c8d90View commit details -
test: refactor tests and permanently add cases for updates with non-l…
…iteral expressions Signed-off-by: Manan Gupta <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 8470476 - Browse repository at this point
Copy the full SHA 8470476View commit details -
Signed-off-by: Manan Gupta <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for b1432c4 - Browse repository at this point
Copy the full SHA b1432c4View commit details -
feat: add AND rewriter to drop some unnecessary predicates
Signed-off-by: Manan Gupta <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for fd79f83 - Browse repository at this point
Copy the full SHA fd79f83View commit details -
feat: add non-literal update parent foreign key verification
Signed-off-by: Manan Gupta <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 465df5d - Browse repository at this point
Copy the full SHA 465df5dView commit details -
feat: augment verification queries to work with non-literal values in…
… updates Signed-off-by: Manan Gupta <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for a1b04e4 - Browse repository at this point
Copy the full SHA a1b04e4View commit details
Commits on Oct 26, 2023
-
some refactor to club update related offsets
Signed-off-by: Harshit Gangal <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 4401200 - Browse repository at this point
Copy the full SHA 4401200View commit details -
reject queries with fk column update dependent column also getting up…
…dated Signed-off-by: Harshit Gangal <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for adfd62f - Browse repository at this point
Copy the full SHA adfd62fView commit details
Commits on Oct 27, 2023
-
fuzz: fix fuzzer to only produce queries that work with Vitess and My…
…sql for single threaded mode Signed-off-by: Manan Gupta <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 2a04ecf - Browse repository at this point
Copy the full SHA 2a04ecfView commit details -
feat: fix update planning to produce correct not in tuple comparison
Signed-off-by: Manan Gupta <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 474a337 - Browse repository at this point
Copy the full SHA 474a337View commit details -
feat: fix fk_cascade engine to handle null comparisons correctly
Signed-off-by: Manan Gupta <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 1ec7b00 - Browse repository at this point
Copy the full SHA 1ec7b00View commit details
Commits on Oct 30, 2023
-
feat: refactor and fix update expressions dependency logic
Signed-off-by: Manan Gupta <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 5f9ad38 - Browse repository at this point
Copy the full SHA 5f9ad38View commit details -
feat: fix literal updates clubbed with non-literal updates
Signed-off-by: Manan Gupta <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 64bbabd - Browse repository at this point
Copy the full SHA 64bbabdView commit details -
feat: refactor code so that checking for non-literal updates is now a…
… function which we only run when required Signed-off-by: Manan Gupta <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for c2a3ff2 - Browse repository at this point
Copy the full SHA c2a3ff2View commit details -
Signed-off-by: Manan Gupta <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for f3c4d7f - Browse repository at this point
Copy the full SHA f3c4d7fView commit details
Commits on Oct 31, 2023
-
test: fix the timeout for waiting for replication
Signed-off-by: Manan Gupta <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for b14dc7b - Browse repository at this point
Copy the full SHA b14dc7bView commit details -
Merge remote-tracking branch 'upstream/main' into fk-updstmt
Signed-off-by: Manan Gupta <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 139f4f5 - Browse repository at this point
Copy the full SHA 139f4f5View commit details -
test: add fuzzer test for olap queries too
Signed-off-by: Manan Gupta <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for b777870 - Browse repository at this point
Copy the full SHA b777870View commit details -
feat: add support for non-literal update in streaming
Signed-off-by: Manan Gupta <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 14caa24 - Browse repository at this point
Copy the full SHA 14caa24View commit details -
feat: fix fkVerify to rollback transaction when select returns rows
Signed-off-by: Manan Gupta <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 47ee14d - Browse repository at this point
Copy the full SHA 47ee14dView commit details -
test: update test output post merge
Signed-off-by: Manan Gupta <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for c40e9c4 - Browse repository at this point
Copy the full SHA c40e9c4View commit details -
feat: fix serializing of foreign keys
Signed-off-by: Manan Gupta <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 6e152df - Browse repository at this point
Copy the full SHA 6e152dfView commit details -
refactor: make childFkToUpdExprs map unexported
Signed-off-by: Manan Gupta <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 16ff17c - Browse repository at this point
Copy the full SHA 16ff17cView commit details -
refactor: minor refactors and adding comments
Signed-off-by: Manan Gupta <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 252f859 - Browse repository at this point
Copy the full SHA 252f859View commit details
Commits on Nov 1, 2023
-
test: add tests for fk_cascade engine changes
Signed-off-by: Manan Gupta <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for e1abd98 - Browse repository at this point
Copy the full SHA e1abd98View commit details -
test: add tests for the function checking for foreign key columns bei…
…ng dependent on updated columns Signed-off-by: Manan Gupta <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for a758a78 - Browse repository at this point
Copy the full SHA a758a78View commit details -
test: add tests for the function checking for non-literal fk updates
Signed-off-by: Manan Gupta <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for fcf6eba - Browse repository at this point
Copy the full SHA fcf6ebaView commit details -
test: add tests for check fk updated expresssions map
Signed-off-by: Manan Gupta <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for fa8370c - Browse repository at this point
Copy the full SHA fa8370cView commit details -
Signed-off-by: Manan Gupta <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 8dc17e4 - Browse repository at this point
Copy the full SHA 8dc17e4View commit details
Commits on Nov 2, 2023
-
Merge remote-tracking branch 'upstream/main' into fk-updstmt
Signed-off-by: Manan Gupta <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 81c395c - Browse repository at this point
Copy the full SHA 81c395cView commit details
Commits on Nov 8, 2023
-
feat: change non-literal comparison added in updates to use null safe…
… equality check Signed-off-by: Manan Gupta <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for a74c0aa - Browse repository at this point
Copy the full SHA a74c0aaView commit details -
feat: change the error to also contain the column names that are caus…
…ing the query to fail Signed-off-by: Manan Gupta <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for b3e1f6e - Browse repository at this point
Copy the full SHA b3e1f6eView commit details -
feat: refactor code to keep all the non-literal update information to…
…gether in a struct Signed-off-by: Manan Gupta <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 2ffd0dd - Browse repository at this point
Copy the full SHA 2ffd0ddView commit details
Commits on Nov 10, 2023
-
feat: remove stream execute from fk_cascade and fk_verify. Instead ju…
…st use TryExecute instead Signed-off-by: Manan Gupta <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 0736eff - Browse repository at this point
Copy the full SHA 0736effView commit details -
Signed-off-by: Manan Gupta <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for f5ae666 - Browse repository at this point
Copy the full SHA f5ae666View commit details -
refactor: fix comment and refactor code
Signed-off-by: Manan Gupta <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 4969e50 - Browse repository at this point
Copy the full SHA 4969e50View commit details -
feat: refactor code and tests to address review comments
Signed-off-by: Manan Gupta <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for d319cd6 - Browse repository at this point
Copy the full SHA d319cd6View commit details