Skip to content
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

opt: add tests for FK delete cascade fast-path with UDF #88933

Merged
merged 1 commit into from
Sep 30, 2022

Commits on Sep 28, 2022

  1. opt: add tests for FK delete cascade fast-path with UDF

    The FK delete cascade fast-path remaps the `DELETE` filter into a filter
    on child table, avoiding buffering the parent's deleted rows like in the
    non-fast-path plan. It is possible to plan this fast-path if the filters
    contain UDF invocations, as long as they are immutable or stable. (Of
    course, if the user creates a UDF with mislabeled volatility, data
    corruption is possible. To mitigate this and other corruption from
    mislabeled UDF volatility in the future, we're considering performing
    some analysis during `CREATE FUNCTION` to prevent users from incorrectly
    assigning volatility.)
    
    This commit adds tests for FK delete cascades with UDFs and removes an
    unnecessary TODO.
    
    Release note: None
    mgartner committed Sep 28, 2022
    Configuration menu
    Copy the full SHA
    a52eb1d View commit details
    Browse the repository at this point in the history