josepablocam / aquery Goto Github PK
View Code? Open in Web Editor NEWA scala rewrite of the AQuery system
A scala rewrite of the AQuery system
I am using the latest build.
The query is mentioned below. It works fine when group by stocksymbol is not used, but that is not the intended use.
create table trades(stocksymbol INT, time INT, quantity INT, price INT)
LOAD DATA INFILE "trades.csv"
INTO TABLE trades
FIELDS TERMINATED BY ","
select stocksymbol, avgs(10,price) as avg_price from trades assuming asc time where stocksymbol=1
group by stocksymbol
INTO OUTFILE "op.csv"
FIELDS TERMINATED BY ","
And the message that is printed on q console is as follows.
`trades
`trades
k){$[t&77>t:@y;$y;x;-14!'y;y]}
My KDB version is
KDB+ 3.4 2016.06.14 Copyright (C) 1993-2016 Kx Systems
Hi all,
I try to add q to my path like this in this article.
Once you install q, make sure you add its installation location to your path.
export PATH=$PATH:/my/q/installation/location/
Calling which q should echo back the appropriate location, if added succesfully.
I try to export like the command says. But after, I type "which q" and then type "echo $?", it returns 1 which indicates that q is not added to my path.
Then I try to do what this article tells me to do in the linux part. It says as follows:
Edit your profile
In the File Manager, find .bashrc in your home folder.
Open it with a text editor and append the following line
alias q='QHOME=~/q rlwrap -r ~/q/l32/q'
and save it. Tell Bash to use the revised profile: source .bashrc
However, after that q still cannot be added to my path.
Can anyone help me on this problem? Thanks.
Sincerely,
Frank
Hi Jose!
I'm currently getting build errors, my sbt can't resolve the assembly plugin, I'm assuming it's because I have a newer version of SBT that probably has some other requirements since the project was developed a bit over a year ago, could we maybe add the sbt version to the project/build.properties
file so my sbt automatically installs and uses the correct version (if that is the issue).
For reference this is the exact error (without the stack trace etc.):
[error] (update) sbt.librarymanagement.ResolveException: unresolved dependency: com.eed3si9n#sbt-assembly;0.14.3: not found
Just let me know if you would rather do communication like this over e-mail instead of Github btw!
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.