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

builtins: recategorize some builtins for docs #85346

Merged
merged 1 commit into from
Oct 3, 2022

Conversation

jordanlewis
Copy link
Member

Updates cockroachdb/docs#11842

This commit moves the json generator functions into the JSON
documentation category rather than the more generically named
"set-returning functions" category.

Also, move the "levenshtein" function into the fuzzy text search
category.

Also, move another couple of internal functions into "system info".

Release note: None

@jordanlewis jordanlewis requested a review from a team July 29, 2022 20:39
@cockroach-teamcity
Copy link
Member

This change is Reviewable

@jordanlewis jordanlewis force-pushed the recategorize-builtins branch 2 times, most recently from 4518bc1 to e211089 Compare July 31, 2022 21:31
pkg/sql/sem/builtins/builtins.go Show resolved Hide resolved
pkg/sql/sem/builtins/builtins.go Show resolved Hide resolved
@jordanlewis
Copy link
Member Author

TFTRs - responded to the comments. PTAL

Copy link
Collaborator

@rafiss rafiss left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Reviewable status: :shipit: complete! 0 of 0 LGTMs obtained (waiting on @jordanlewis and @rafiss)


pkg/sql/sem/builtins/builtins.go line 3738 at r2 (raw file):

	// Fuzzy String Matching
	"soundex": makeBuiltin(
		tree.FunctionProperties{Category: builtinconstants.CategoryFuzzyStringMatching},

strange, this didn't show in the generated docs

This commit moves the json generator functions into the JSON
documentation category rather than the more generically named
"set-returning functions" category.

Also, move the "levenshtein" function into the fuzzy text search
category.

Also, move another couple of internal functions into "system info".

Release note: None
@rafiss
Copy link
Collaborator

rafiss commented Oct 3, 2022

bors r+

@craig
Copy link
Contributor

craig bot commented Oct 3, 2022

Build failed (retrying...):

@craig
Copy link
Contributor

craig bot commented Oct 3, 2022

Build failed (retrying...):

@craig craig bot merged commit fca6c42 into cockroachdb:master Oct 3, 2022
@craig
Copy link
Contributor

craig bot commented Oct 3, 2022

Build succeeded:

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants