Skip to content

Commit

Permalink
Register UDFs as MetaData.Custom
Browse files Browse the repository at this point in the history
  • Loading branch information
andreidan committed Aug 3, 2017
1 parent 7c0f96c commit 318108e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sql/src/main/java/io/crate/plugin/SQLPlugin.java
Original file line number Diff line number Diff line change
Expand Up @@ -232,7 +232,7 @@ public List<NamedWriteableRegistry.Entry> getNamedWriteables() {
public List<NamedXContentRegistry.Entry> getNamedXContent() {
List<NamedXContentRegistry.Entry> entries = new ArrayList<>();
entries.add(new NamedXContentRegistry.Entry(
UserDefinedFunctionsMetaData.class,
MetaData.Custom.class,
new ParseField(UserDefinedFunctionsMetaData.TYPE),
UserDefinedFunctionsMetaData::fromXContent
));
Expand Down

0 comments on commit 318108e

Please sign in to comment.