Hi,
We are looking forward to use TG Cloud instance for our solution. As part of our solution we use custom C++ UDF’s which internally make API calls to external API’s . Can you please let me know how can I deploy such C++ Functions to TG Cloud instance and how to do network configuration in Cloud instances for inbound/outbound traffic ?
Hi @kapilsaini this is a great question. As of now, there isn’t a “best way”. There is a way.
- You need to export your solution
- Unzip the tar file
- Unzip template > ExportedGraph
- Make edits directly to
ExprFunctions.hpp
Query UDFs should be defined in C++ in the ExprFunctions.hpp
file located at <tigergraph.root.dir>/app/<VERSION_NUM>/dev/gdk/gsql/src/QueryUdf/
. Replace <VERSION_NUM>
with the version number of the TigerGraph instance running on your machine Operators and Expressions :: GSQL Language Reference
- Zip up ExportedGraph
- tar your full solution
- Import Existing Solution back
2 Likes