Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fixes ##11711 Clarify the meaning of "Stand-in structure for view" in…
… SQL export Signed-off-by: Marc Delisle <marc@infomarc.info>
- Loading branch information
Showing
2 changed files
with
5 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2f2b505
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yup, that works just fine. I'm curious as to why the stand-in structure is even needed if there's a view, but that's a separate discussion :)
2f2b505
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@offsides See #8691.
2f2b505
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm still not completely clear on why the stand-in table is required during the export, but I think I get it well enough, and that's OK. Thanks for the additional explanation.
2f2b505
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
View A may depend on another view B that is defined below, so the view A creation would fail if we did not use stand-in. Dependencies may be more complex that that, so instead of computing all dependencies we use stand-ins.
2f2b505
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
OK, so it's not that you can't do just views, it's that it's a lot easier to do stand-ins which also makes it harder to mess up. That makes sense. Thanks again for the explanation - perhaps it should go in the FAQ?
2f2b505
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@offsides Well, F means Frequently and I don't remember seeing this question during the 9 years since the implementation.
2f2b505
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Fair enough. :)