GithubHelp home page GithubHelp logo

aquery's People

Contributors

emilgoldsmith avatar josepablocam avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

aquery's Issues

Group by with avgs does not work

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

Fail to have q in my Ubuntu's PATH

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

Add sbt version to build.properties

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!

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.