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

sql: support views that depend on virtual views #39195

Merged
merged 1 commit into from
Aug 1, 2019

Commits on Aug 1, 2019

  1. sql: support views that depend on virtual views

    When creating a view, we report a plan dependency on virtual
    views which causes a failure. This commit fixes the logic to avoid
    reporting a dependency in this case (just like we don't report
    dependencies on virtual tables).
    
    Fixes cockroachdb#38440.
    
    Release note (bug fix): crdb_internal.ranges can now be used inside
    views. Note that such views can become invalid in future releases if
    `crdb_internal.ranges` changes.
    RaduBerinde committed Aug 1, 2019
    Configuration menu
    Copy the full SHA
    39253e4 View commit details
    Browse the repository at this point in the history