xlmo

q - Text as Data

  •  
  •   xlmo · Oct 23, 2014 · 4418 views
    This topic created in 4397 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
    egen
    Oct 23, 2014
    1
    大赞

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