xlmo

q - Text as Data

  •  
  •   xlmo · Oct 23, 2014 · 4187 views
    This topic created in 4283 days ago, the information mentioned may be changed or developed.
    q is a command line tool that allows direct execution of SQL-like queries on CSVs/TSVs (and any other tabular text files).

    例如:q -d , "select c1 from ./a.csv where c1 > 300"


    http://harelba.github.io/q/
    2 replies    2014-10-24 09:59:40 +08:00
    egen
        1
    egen  
       Oct 23, 2014
    大赞

    看他实现的原理倒不复杂,把输入做成内存数据库,然后调用sqlite执行sql
    zzcworld
        2
    zzcworld  
       Oct 24, 2014 via iPhone
    我还以为你说的是KDB+ http://www.kx.com/ 这个很厉害 也可以用sql读csv
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   1089 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 31ms · UTC 18:26 · PVG 02:26 · LAX 11:26 · JFK 14:26
    ♥ Do have faith in what you're doing.