Any way return csv or at lest plain text from the AQL?

Hi

How can I ask aql do not format output from the query and return it as plain text? I have function which returns tsv, but aql formats it as table or json. How to disable it?

Here is an example

+---------------------+
| remap               |
+---------------------+
| "user2        td:td_user2" |
| "user1        td:td_user1" |
+---------------------+

but I want

 "user2        td:td_user2" 
 "user1        td:td_user1" 

Any way how to achieve that?

Thanks

AQL supports a few output modes, JSON is probably the closest option.

aql> set output json

Any plan to add more options, in particular plain text?

Try aql> set output raw

aql> set output raw
Unsupported command format with token -  'raw'

Since what version it’s available? I use Aerospike Community Edition build 3.13.0.11. Unfortunately, I cannot upgrade to newest version.

© 2021 Copyright Aerospike, Inc. | All rights reserved. Creators of the Aerospike Database.