Hi all,
I want to create a User-Defined Functions Query with the following :
But error :
config entry GSQL.UDF.EnablePutExpr not found
Hi all,
I want to create a User-Defined Functions Query with the following :
But error :
config entry GSQL.UDF.EnablePutExpr not found
@maulcenter Do you also get an error while running gadmin status
or is it only when trying to turn on UDF capabilities?
Steps to enable UDF’s:
gadmin config set GSQL.UDF.EnablePutExpr true
gadmin config set GSQL.UDF.EnablePutTgExpr true
gadmin config set GSQL.UDF.EnablePutTokenBank true
gadmin config apply -y
gadmin restart gsql
error only when trying to turn on UDF capabilities, @Jon_Herke.
@maulcenter What version of TigerGraph are you using? I know in (I believe) 3.8 they made some UDF configuration changes.
Here I’m using TigerGraph version 3.6 and on your advice I’m trying to go to version 3.8 they made some UDF configuration changes. Thanks @Jon_Herke
So, it’s only version 3.8 that has UDF capabilities config ?
@maulcenter Ahh I see. I assumed because you were trying the UDF enablement command that you were using 3.8. TigerGraph 3.8 disabled UDFs by default and you need to enable them to use them. In 3.6 you don’t need to do that step.
Here is the 3.6 documentation on UDFs. Query User-Defined Functions :: GSQL Language Reference
This example at the bottom is a step-by-step walkthrough of installing a UDF Query User-Defined Functions :: GSQL Language Reference