kdb+ and q
Questions related to kdb+ and q
cancel
Showing results for 
Search instead for 
Did you mean: 

Forum Posts

Possible memory leak with enumerated table dump?

I have the following code fragment: E:\test>q KDB+ 3.6 2019.04.02 Copyright (C) 1993-2019 Kx Systems w32/ 8()core 4095MB xxxxxxxx xxxxxxxx xxx.xxx.xxx.xxx NONEXPIRE Welcome to kdb+ 32bit edition For support please see http://groups.google.com/d/forum...

Flying by New Contributor III
  • 435 Views
  • 2 replies
  • 0 kudos

Q For Problems - Episode 1

Q For Problems - Episode 1 Hi everyone, Please check out episode 1 for my new Q For Problems video series. This series will use the Q language to solve various programming problems. Episode 1 covers problem 1 from the Project Euler problem set. Proje...

jkane17 by New Contributor III
  • 979 Views
  • 9 replies
  • 12 kudos

.Q.qp for splayed table

The .Q.qp doc says 0b for splayed table, but on KDB 4.0 it's actually 0. Is it a bug, or there is a new way to check if a table is splayed? q)`:./t/ set ([] v1:10 20 30; v2:1.1 2.2 3.3) `:./t/ q)\l ./t `t q)0b~.Q.qp t 0b q)0~.Q.qp t 1b

darrenwsun by New Contributor III
  • 444 Views
  • 2 replies
  • 0 kudos

Resolved! select with assignment

I remember in q, we can assign a temporary variable during select and use it again in the same column, but seems it is not working. For example, select (total+5)%(total:a+b) from t this should be same as select (a+b+5)%(a+b) from t What is wrong with...

Iterating lists and dictionaries

Iterating a list or dictionary gives you a finite-state machine You have probably heard that one of the founding insights of q is that lists and dictionaries are functions; that is, the domain of a list or dictionary is its indices; its range is its ...

fsm.jpg
SJT by Contributor III
  • 532 Views
  • 1 replies
  • 7 kudos