gpt4 book ai didi

database - KDB/Q : Why I got length error when select data using vector condition for symbol list?

转载 作者:太空狗 更新时间:2023-10-30 01:57:02 24 4
gpt4 key购买 nike

我有一张 table :

t3:([]a:2 3 4;b:`CA`AB`)

我有一个问题:

select from t3 where b in ?[a=2;`CA`AB;`AB]

Bong...它给我“长度错误”。

但是这些有效:

select from t3 where b in ?[a=2;`CA;`AB] 

select from t3 where b in `CA`AB

想不出哪里出了问题?请帮助...谢谢。

最佳答案

长度错误是由在向量条件语句中使用不同长度的列表引起的 - 参见 http://code.kx.com/q/ref/lists/#vector-conditional更多细节。您的其他语句有效,因为两个输出参数是原子的。

关于database - KDB/Q : Why I got length error when select data using vector condition for symbol list?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/40253982/

24 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com