![]() |
火星上的羽毛球 · 'number‘类型的参数不能赋值给'str ...· 昨天 · |
![]() |
打酱油的啄木鸟 · TypeScript:“”string|nu ...· 昨天 · |
![]() |
紧张的豌豆 · Node.js使用预签名URL上传_对象存储 ...· 昨天 · |
![]() |
行走的键盘 · PowerBI - 配置增量刷新 - ...· 1 年前 · |
![]() |
不开心的骆驼 · sql - Case in Select ...· 2 年前 · |
![]() |
个性的电池 · 三个角度搞清CompletableFutur ...· 2 年前 · |
![]() |
听话的领带 · vue读取修改svg颜色 ...· 2 年前 · |
![]() |
痛苦的筷子 · 如何通过JavaUDF实现根据Path路径获 ...· 2 年前 · |
Long story short , you must move your return results ; statement at the end of the function.
In this case , you must also declare the results variable somewhere at the start of the function not inside any code block
Let me know if it works fine
Thanks and Regards,
Shiva RV
All Answers
I think it is a simple code issue
Just make your return results; statment at the end before the last " } " . I mean by before closing the function write your return results so you must also initailize your result variable at the start of the function and not inside any block of code.
This error pops up because the function is suppose to return string but in some branch section of your code it doesn't return anything
Let me if the solution helps.
Thanks and Regards,
Shiva RV
I'm not sure what you mean. I should move my results variable definition to ouside my if statement?
Long story short , you must move your return results ; statement at the end of the function.
In this case , you must also declare the results variable somewhere at the start of the function not inside any code block
Let me know if it works fine
Thanks and Regards,
Shiva RV