User defined functions in tigergraph

Hello,
I wrote a C++ function which has cout in it. I’m unable to install the query. May I know if TigerGraph supports this in its UDF currently?

Hi Meghana,

You’ll need to use std::cout to make it work :

std::cout << “@@@@@PRINT THIS” << std::endl;

The output statement will be printed here (assuming you have not changed file directories) :

/home/tigergraph/tigergraph/logs/gpe/gpe_1_1.out

Thanks,

Kevin