kdb+ and q
Q+A on all things kdb+ database and the q language
cancel
Showing results for 
Search instead for 
Did you mean: 

Forum Posts

From loops to vectors

In learning q most of us have to drop the habit of edging into a solution with loops and think instead of vector operations. The transition is typically both awkward and exhilarating. It is harder if you are a solo student without vector-savvy collea...

SJT by Valued Contributor
  • 513 Views
  • 0 replies
  • 0 kudos

.Q.gz?

Hi,I sent an email before asking about .Q.gz I wanted to follow up on. (The email is not yet posted).I was able to use the qgz library so I think that should suffice. I'm still not sure about .Q.gz from documentation. Is it only in 4.0 and not in 3.6...

Angela by New Contributor
  • 1652 Views
  • 4 replies
  • 0 kudos

.Q.gz ?

Hi,I can't get ".Q.gz"? https://code.kx.com/q/ref/dotq/#qgz-gzipq).Q.gz'.Q.gz [0] .Q.gz ^I'm on Ubuntu (wsl 2). I did install 32 bit zlib ("sudo apt-get install zlib1g-dev:i386") though I'm uncertain if I'm using the right one or setting it up correc...

Angela by New Contributor
  • 431 Views
  • 0 replies
  • 0 kudos

Issue in deserializing in q from c++

Hello, wondering if anyone has any ideas here I have been trying to publish a serialized K object from C++ using Kafka, and trying to deserialize using kdb/q (using -9!msg[`data]) on a kafka q topic listener. I am able to serialize/deserialize simple...

Re: [personal kdb+] dictionary with flip

as you point out, tables are stored in memory as a flipped dictionary of lists:show t:flip `name`iq!(`Dent`Beeblebrox`Prefect;98 42 126)name iq --------------Dent 98 Beeblebrox 42 Prefect 126but you can treat a table as a list of dictionaries (and in...

Nick by New Contributor
  • 2047 Views
  • 4 replies
  • 0 kudos