Debug prints in GSQL

Hi all!

I have a very general question about writing GSQL queries:
During the process of writing a query, where can I execute debug prints?

For example, I’d like to be able to see the values of local variables / aggregators during the ACCUM and POST-ACCUM stages.

I’ve been getting an “extraneous input print…” error message.

Is it possible at all?

Thanks a lot,

Hi Denis,

there are two ways of debugging.
Using LOG statement:

or using output to the file:


Hi Bruno!

Thanks a lot for you answer!
I was hoping for something that sent the output to the UI, rather than the file, but I’ll make it work.

Thanks again!!! :smiley: