Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
The main purpose of this PR is to add support for markdown in the raw value of
comment
APIs (#981). But instead of adding a separatecommentRenderMarkdown
, I changed.comment
returned value to an object (similar to how.displayname
works). This allows us also to remove.commentDisplay
and have it as part of the object.Other changes are,
Contextualized
comment
are now supported.Fix the inheritance of
comment_display
from the parent catalog, schema, or table.comment
,comment_display
, andcomment_render_markdown
can come from different levels and don't affect each other. Before, we used to only get thecomment_display
from where thecomment
was defined. But nowcomment_display
can come from the column directive while thecomment
is derived from the table (or vice versa).Moved the comment-related APIs of
ForeignkeyRef
andKey
togetDisplay
, similar to how we've done it onTable
andColumn
.Since I completely changed how the
.comment
API works in here, we have to merge this at the same time as the chaise one.