We have some use cases that use spaces or dots in the set-names, e.g. “b b”. It is unclear to us how to query these sets in AQL (if at all supported).
AQL show sets
confirms that the set is created correctly:
aql> show sets +-----------+----------------+----------------------+-----------+--------------------------------------------------------+------------+---------------------+--------+-------+--------------+ | n_objects | set-enable-xdr | set-stop-write-count | ns_name | set_name | set-delete | set-evict-hwm-count | target | local | intermediate | +-----------+----------------+----------------------+-----------+--------------------------------------------------------+------------+---------------------+--------+-------+--------------+ | 4 | "use-default" | 0 | "test" | "b b" | "false" | 0 | | | | +-----------+----------------+----------------------+-----------+--------------------------------------------------------+------------+---------------------+--------+-------+--------------+
However, trying to query something from this set through AQL fails (even though it doesn’t throw an error):
aql> select * from test.b b Un-supported command format with token - 'b' Type " aql --help " from console or simply "help" from within the aql-prompt.
or
aql> select * from test.b\ b 0 rows in set (0.001 secs)
or
aql> select * from test."b b" 0 rows in set (0.000 secs)
We have the same issue if we have a set with name b.b
:
aql> select * from test.b.b Un-supported command format with token - '.' Type " aql --help " from console or simply "help" from within the aql-prompt.