Louvain Query showing syntax error


im trying to get familar with graph algorithms and wanted to try out the Louvain algorithm.

I copied and pasted the query from here:

into graph studio but i get an error saying:
(66, 17) Error: The alias t.@max_best_move cannot be determined.

Im using a local docker setup with the latest tigergraph image which has the GSQL version: 3.1.

Am i missing a step or something? Any help would be appreciated.

Screenshot of the error:


Upgraded to GSQL version 3.5 and the error is gone now

1 Like

Awesome! Thanks for sharing the solution, @Phan!