How to understand the 'TEMPORARY' keyword in CREATE FUNCTION statement? #3992
-
Hi, we have tried to use the CREATE FUNCTON statement, but I'm confused about the existence of the TEMPORARY key word. In which situation we don't need to persist the UDF meta data? And if such one exists, under cluster mode, a node will loss the UDF meta data forever after restarting, but other nodes still have it. Thus the meta data is not consist. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 3 replies
-
😂 Congratulations, you found a hidden feature (or a bad design) that didn't show up in the user documentation. At first, I wanted to support user (or session) isolation UDF based on this feature: when a user disconnects or a session breaks down, their UDFs will be deregistered automatically. But in the end, I didn't implement the feature.
Your consideration is correct. You can create a PR to remove the |
Beta Was this translation helpful? Give feedback.
😂 Congratulations, you found a hidden feature (or a bad design) that didn't show up in the user documentation.
At first, I wanted to support user (or session) isolation UDF based on this feature: when a user disconnects or a session breaks down, their UDFs will be deregistered automatically. But in the end, I didn't implement the feature.
Your consideration is correct. You can create a PR to remove the
TEMPORARY
keyword and its logic, thanks!