通过控制台查询时AQL切断数据
AQL cutting off data when querying through console
尝试通过AQL查询某个bin的某个记录,但是,数据被截断了。
关于如何使 AQL 打印完整数据有什么想法吗?
aql> select tokens from user.users where pk='some_pk'
+----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
| tokens |
+----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
| MAP('{"93836":"external-jfbl8squ-zWLoOuBgXD-test::1527455663", "39720":"external-jfbl8squ-UZWvWVMjtc-test::1527455663", "40870":"external-jfbl8squ-kIFcZKdimg-test::1527455663", "70065":"external-jfbl8squ-PezniJBRgE-test::1527455663", "36903":"external-jf |
+----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
1 row in set (0.000 secs)
如你所见,最后数据还没有写完
发布这个问题后,我尝试使用“-o json”启动 AQL,它起作用了。
aql> select partner_tokens 来自 user.users 其中 pk='cfef295b-dbd6-4f5f-8ad6-b0332c950772'
[
{
"tokens": {
"93836": "external-jfbl8squ-zWLoOuBgXD-test::1527455663",
"39720": "external-jfbl8squ-UZWvWVMjtc-test::1527455663",
"40870": "external-jfbl8squ-kIFcZKdimg-test::1527455663",
"70065": "external-jfbl8squ-PezniJBRgE-test::1527455663",
"36903": "external-jfbl8squ-yYSCVcZeuF-test::1527455663",
"78608": "external-jfbl8squ-vYukUUHCSa-test::1527455663",
"50785": "external-jfbl8squ-kOonwnEZiL-test::1527455663"
}
}
]
尝试通过AQL查询某个bin的某个记录,但是,数据被截断了。
关于如何使 AQL 打印完整数据有什么想法吗?
aql> select tokens from user.users where pk='some_pk'
+----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
| tokens |
+----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
| MAP('{"93836":"external-jfbl8squ-zWLoOuBgXD-test::1527455663", "39720":"external-jfbl8squ-UZWvWVMjtc-test::1527455663", "40870":"external-jfbl8squ-kIFcZKdimg-test::1527455663", "70065":"external-jfbl8squ-PezniJBRgE-test::1527455663", "36903":"external-jf |
+----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
1 row in set (0.000 secs)
如你所见,最后数据还没有写完
发布这个问题后,我尝试使用“-o json”启动 AQL,它起作用了。
aql> select partner_tokens 来自 user.users 其中 pk='cfef295b-dbd6-4f5f-8ad6-b0332c950772'
[
{
"tokens": {
"93836": "external-jfbl8squ-zWLoOuBgXD-test::1527455663",
"39720": "external-jfbl8squ-UZWvWVMjtc-test::1527455663",
"40870": "external-jfbl8squ-kIFcZKdimg-test::1527455663",
"70065": "external-jfbl8squ-PezniJBRgE-test::1527455663",
"36903": "external-jfbl8squ-yYSCVcZeuF-test::1527455663",
"78608": "external-jfbl8squ-vYukUUHCSa-test::1527455663",
"50785": "external-jfbl8squ-kOonwnEZiL-test::1527455663"
}
}
]