UDF Plugin: Which is the corresponding Java type to map(string,string) #14096
Unanswered
andreclaudino
asked this question in
Q&A
Replies: 2 comments
-
By the way, you can ask questions about development in https://trino.io/slack.html |
Beta Was this translation helpful? Give feedback.
0 replies
-
This is now documented, with examples how to build such block https://trino.io/docs/current/develop/connectors.html#type-mapping |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I am creating a plugin to host an UDF, it is an http_get function, receiving the
httpAddress
path, the queryparameters
and the requestheaders
. It is implemeted in scala:When running on trino, it raises the following exception:
The problem is: What is the corresponding java type to
map(varchar,varchar)
?I've tried Many:
Can't find any example of plugin implementing a function which receives a map.
Any help is appreciated. Thanks
Beta Was this translation helpful? Give feedback.
All reactions