contributing functions #5859
Closed
gavinking
started this conversation in
Design Proposals
Replies: 1 comment 4 replies
-
On the other hand, perhaps this was a misuse of @sebersole, is that right? |
Beta Was this translation helpful? Give feedback.
4 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
So far the most common migration question that has come up on stackoverflow is how to register SQL functions from a
MetadataBuilderContributor
.This is possible, you can instantiate a
NamedFunctionDescriptor
orPatternFunctionDescriptor
.But, in our own code, we don't actually do it this way: we use
PatternFunctionDescriptorBuilder
andNamedFunctionDescriptorBuilder
, which currently depend on theSqmFunctionRegistry
, which is not available in theMetadataBuilderContributor
. Perhaps we should let users do it this way too.Or perhaps it's not necessary. I'm not sure.
Beta Was this translation helpful? Give feedback.
All reactions