Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Introduction: code to generate sample db errors #13

Open
aozgaa opened this issue Dec 21, 2020 · 1 comment
Open

Introduction: code to generate sample db errors #13

aozgaa opened this issue Dec 21, 2020 · 1 comment

Comments

@aozgaa
Copy link

aozgaa commented Dec 21, 2020

Thanks for putting together the tutorial. Unfortunately I am seeing errors running the first examples to reproduce the db benchmark on my machine. Here is what I see with a recent shakti release:

> k
l2020.12.20 7GB 6core (c)shakti 2.0
nf:d+*|d:(|-d),d:683 954 997 1000;
T:^`t ?[;_8.64e7]@
B:100++\1e-2*-3+nf bin/:?[;*|nf]@
S:?[;1e-2*2,2,8#1]@
L:{select t,b,a:b+s from +`t`b`s!(T;B;S)@'x}
 q:`eurusd`usdjpy`usdchf!L'60e6 20e6 20e6
{select t,b,a:b+s from +`t`b`s!(T;B;S)@'x}
^
!class
>`q 2:q
`q 2:q
     ^
!value

I will try to figure out what is wrong as I learn more about k. For now the error is pretty forbidding!

@estradajke
Copy link
Owner

Similar to the other bug, the document is out of sync to the language. Here I also expect I'll have to rewrite the doc with 0: and waiting for this to be rewritten which should happen soon.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants