Hi everyone,
Is there any way to directly write to AWS S3 file from GSQL query? I can see there is way to write to file using FILE object as shown in docs mentioned below, but can we write to S3 in a similar way or by using any other way from query itself?
https://docs.tigergraph.com/gsql-ref/current/querying/output-statements-and-file-objects#_file_println_statement
Thanks in advance
Hi @Gourish,
Unfortunately, there is currently no way to directly write to AWS S3 file from a GSQL query.
You can, however, write queries that write to a file using the FILE object. After that, you can copy the file to S3, or you can download that output file to your own machine (if you are using TG Cloud) and then upload the file to S3.
I hope this helps!
Best,
Supawish Limprasert (Jim)
Solution Engineer, TigerGraph