kdb+ 2.6 Release Notes¶
This page details the latest features and improvements released to kdb+ 2.6.
2012.08.03¶
Fixes and improvements¶
- built-in logging via -l could log bad data if incoming ipc msg was compressed.
2012.05.30¶
Fixes and improvements¶
- patch for v2.6 to use ipc with v3.0, to allow it to send timestamp/timespan.
2011.07.21¶
Fixes and improvements¶
-
files containing a single vector with a `u attribute were erronesouly being read in full rather than mapped, since 2010.12.03.
e.g. q)get `:testu set `u#til 1000
2011.04.11¶
Fixes and improvements¶
- deltas(1 2 3;4 5 6) was throwing 'length
2011.03.26¶
Fixes and improvements¶
-
ipc compression could potentially cause heap corruption in extremely rare cases, since 2.6 2010.02.02
-
Since 2.6 2010.09.08, 'accp error was losing the context of the error and hence showing wrong text. The text is OS specific.
e.g. was "Bad file Descriptor" instead of "Too many open files".
2011.02.04¶
Fixes and improvements¶
-
potentially, in extremely obscure cases, a sym compare might have matched incorrectly. This affects finding unique rows
in tables where at least one column is a sym. -
allow upsert of empties
e.g.([x:1 2]y:3 4)upsert([]x:`int$()) -
0!x was not decrementing ref count of x in the event of a type error
e.g.0!()
2011.01.20¶
Fixes and improvements¶
-
calling code in dynamically loaded libraries on linux could crash randomly, since v1.0
-
select from symbol could result in an infinite recursive loop and consequent crash due to stack exhaustion, since 2.6 2009.08.20.
-
Now blocked by allowing just one level of indirection, as originally intended, throwing 'type if further levels are detected.
e.g. t:`t;select from t -
was crashing if the sort column name was missing from select[m n;<colname] from ...
e.g. select[4 2;<] from([]a:til 10)
2010.12.17¶
Fixes and improvements¶
-
appending an empty list to a nested type was throwing 'type since 2.6 2010.06.17
e.g. `:test set("hello";"world");`:test upsert()
2010.12.03¶
Fixes and improvements¶
-
loading a file created with v2.5 which contained only `g#0#0h caused a crash.
n.b. this particular file created with with versions>2.5 is not compatible with versions<=2.5. -
(internal) kdb+ could crash if stringify was not already initialized when an error was encountered, since v1.0.
-
Querying an unknown file based table could caush a crash
e.g. select from (flip enlist[`x]!`:t/) where i<1 -
wj wasn't giving consistent results for joins using a single column
e.g. wj[-2 1+\:t.time;`time;t;(q;(::;`ask);(::;`bid);(::;`time))] wj[-2 1+\:t.time;enlist `time;t;(q;(::;`ask);(::;`bid);(::;`time))] wj[-2 1+\:t.time;`sym`time;t;(q;(::;`ask);(::;`bid);(::;`time))] given q:([]sym:9#`ibm; time: 10:01:01 + til 9; ask: 101 + til 9; bid:98 + til 9); t:([]sym:3#`ibm; time: 10:01:01 10:01:04 10:01:08; price: 100 101 105); f:`sym`time;w:-2 1+\:t.time; -
cor, cov, dev and var were not working correctly on selects from partitions when no constraints were used, since 2.6 2009.10.15.
e.g. `:db/test/2010.09.20/t/ set([]p:1 1 1 2 2;r:1 2 3 4 5); `:db/test/2010.09.21/t/ set([]p:10 11;r:2 3); \l db/test {(x cor y)~z}[(select r from t)`r;(select p from t)`p;first (select r cor p from t)`p]
2010.09.08¶
Fixes and improvements¶
-
file/socket descriptors were being inherited by child processes (e.g. via system"...") - present since initial version of kdb+.
This meant file descriptors in use by a terminated parent process at the time of creating the child process would remain in existence until the child process terminated.
2010.07.29¶
Fixes and improvements¶
- "Z"$"23-OCT-09" was returning 0Nz, due to the upper case T.
2010.07.23¶
-
hopen (or khp/khpu from c) could fail if 0 was the socket descriptor allocated.
-
processing incoming aync msgs whilst awaiting a sync response was causing .z.w/.z.u to lose context
e.g. (hopen`::5000)"(neg .z.w)\"(neg .z.w)`\""; .z.u
2010.07.21¶
Fixes and improvements¶
- ignore case when reading http headers, e.g. Content-Length vs Content-length
2010.07.15¶
Fixes and improvements¶
-
importing data from non native endian systems via -17!`:filename was crashing for files with attributes
-
allow deeper nesting of (), limit was 15, now it is 100. e.g. value raze 100#'"()"
2010.06.20¶
Fixes and improvements¶
- enum compare was erroneously matching null, e.g. u:enlist`x;select from([]b:`s#`u$``x) where b in `x
2010.06.17¶
Fixes and improvements¶
-
appending a different nested type to a nested type was crashing; now it throws 'type
e.g. .[`:test/;();,;([]a:(1 2;3 4))];.[`:test/;();,;([]a:(`a`b;`c`d))];get`:test/
2010.06.10¶
Fixes and improvements¶
- 1 0n except 0n was not removing the null (since 2009.09.15, root cause was 0n in 0n failing as in does not use comparison tolerance).
2010.06.08¶
Fixes and improvements¶
-
thread lambda select had problems seeing thread locals and params inside mainthread lambda with parallel select, e.g.
`:test/1/t/`:test/2/t/ set\:([]a:1 2); system "l test";{[d]select a from t where a in exec from {select a from t}[d]}[]; broke in 2.6 2009.08.20 (thread lambda inside parallel lambda)
2010.06.02¶
Fixes and improvements¶
-
msum extended to work with dictionaries, e.g. 3 msum til[6]!1 2 3 5 7 11
-
?[10b;([]1 2);([]3 4)] throws 'nyi not 'type
-
Connecting to an unresponsive socket threw different errors depending whether a timeout is used.
-
e.g. hopen[`:127.0.0.1:9999] 'conn: Connection refused
-
record#keyedtable was crashing. e.g. r:(flip(enlist`id)!enlist())!();r(enlist `id)#r
-
@[([]1 2);::;0#] was crashing
2010.05.17¶
Fixes and improvements¶
-
loading a `s#enum without the enum target was throwing g0 error
-
-17!x where x was non-native endian `p#sym enum was crashing
-
on windows sometimes the requested port to listen on/connect to was erroneously interpreted
-
min on a sorted list was not ignoring nulls, e.g. min asc 0n 1
2010.05.10¶
Fixes and improvements¶
-
upsert on a keyed table with dicts as values was failing if a new key element was added (since 2009.08.07 release)
-
e.g. t:([a:`a`b]v:(`n`m!(`a;1 2 3);`a`b`c!(1;2;`a)));r:([a:enlist`x]v:enlist enlist[`a]!enlist 1 2);t,:r
2010.05.09¶
Fixes and improvements¶
-
-9!x was failing with 'length error if x was serialised on a non-native endian system.
e.g. (x:-8!1 on sparc, then -9!x on intel) -9!0x000000000000000dfa00000001 -
IPC deserialization of data compressed on non-native endian system was crashing.
i.e. sparc systems communicating with intel systems via ipc with messages large enough to activate compression (>2000 bytes) would cause crash during deserialization.
2010.04.26¶
Fixes and improvements¶
- delete from ([]a:`a`b) was failing, since 2010.04.22
2010.04.22¶
Fixes and improvements¶
-
amend of temporal types was throwing 'type, e.g.t:3#.z.t;@[t;0 1;+;1]
-
q.k - for partitioned tables, select count i .. from t where ... was returning different types (int,long) depending on whether there were more constraints than just date, e.g. ... where date=2010.04.21,sym in syms. Fixed to always returns a long (for querying partitioned tables), and can be explicitly cast back to an int if necessary, e.g. select `int$count i from t ...
2010.04.19¶
Fixes and improvements¶
-
inconsistency with select x by y from t - with empty untyped x, sum/prd were returning typed vectors.
e.g. (meta select sum b by a from ([]a:();b:()))~meta select avg b by a from ([]a:();b:())
2010.04.16¶
Fixes and improvements¶
-
unix versions - fixed edge case of detecting user id and cwd that was immediately causing seg fault on startup on a malconfigured v64 system. Present since kdb+ v1.0, now it exits with pwuid error and exit.
-
extended random number generator to handle timestamp/timespan and extended range for rng for longs, e.g. 10?.z.p,10?.z.n,max 1000000?0wj
2010.04.14¶
Fixes and improvements¶
- There was an inconsistency between parsing timestamps with different delimiters, e.g. ("P"$"20000101-00:00:00.000")="P"$"20000101 00:00:00.000"
2010.04.12¶
Fixes and improvements¶
- update by was failing for update(0f,)1_x by x1 from([]1 2 3;0 1 1) due to a speed optimization from the 2009.11.10 release. Rolled back.
2010.04.07¶
Fixes and improvements¶
-
q.k - aj0 did not take the rest of the columns from the left table, e.g. aj[`t;([]t:1 3;a:01b);([]t:til 4;b:"abcd")]
-
q.k - wj match on 1 or 2(with `p#sym or `g#sym) fields only. Previously was 2 fields only.
-
q.k - literals for type comparisons changed to explicit shorts (avoids cost of coersion),
e.g. q)\t do[100000;99=99h] 35 q)\t do[100000;99h=99h] 16 -
select distinct b by a from t was sensitive to extra whitespace between "distinct b",
e.g. q)(select distinct b by a from ([] a:`z`z;b:1 1))~select distinct b by a from ([] a:`z`z;b:1 1) 0b also q)(select distinct[b] by a from ([] a:`z`z;b:1 1))~select distinct b by a from ([] a:`z`z;b:1 1) 0b select distinct expression by .. is allowed, otherwise select distinct .. must have no 'by' (just like sql92 has no group by) and means distinct select .., e.g. q)select distinct by b from ([] a:`z`z;b:1 1) 'distinct by q)(distinct select from ([] a:`z`z;b:1 1))~select distinct from ([] a:`z`z;b:1 1) 1b
2010.03.31¶
Fixes and improvements¶
-
"d"$0Np was returning 2001.01.01; should have been 0Nd.
-
avg on tables and dictionaries were not ignoring null values in the count. e.g. (`a`b!1.5 2.5)~avg([]a:1 0N 2;b:2 3 0N)
-
like was failing for enums when count[enum vector(v)]>=count[enum target(t`a)], AND an error thrown,
e.g. t:`a`b;v:`s$`a`b;v like "**" crashed but should have thrown 'nyi -
solaris only - equality comparison for float infinities was wrong, e.g. 0w=0w was returning 0b
2010.03.26¶
Fixes and improvements¶
-
prev "abc" was erroneously returning "\000ab", now it returns " ab"
-
l64 only - due to a gcc bug, memcopies >2GB involving an odd element count were failing to copy the last element.
This manifests itself as a crash later when involving sym vectors, or 0 as a value for other types. e.g. last element becomes 0, s:536870915#1.;s:2_s;last s
2010.03.22¶
Fixes and improvements¶
- on connection close, sets .z.w to 0 prior to invoking .z.pc only if closed handle was .z.w
2010.03.13¶
(entry updated 2010.04.22)
Fixes and improvements¶
-
update with a new length was failing, since 2009.11.10 release, e.g. update a:1 2 3 from ([]a:1 2)
-
a side effect is that update is more strict with lengths; the new length must be 1 or the length of the existing column.
e.g. update b:1 2 3 from([]a:1 2) now fails, correct code would be update b:count[i]#1 2 3 from([]a:1 2) e.g. update b:1 2 from([]a:1 2 3) now fails, correct code would be update b:count[i]#1 2 from([]a:1 2 3)
2010.03.02¶
Fixes and improvements¶
- like was failing for foreign keys when count[enum vector(v)]>=count[enum target(t`a)], e.g. t:([a:`aa`bb`cc]b:1 2 3);v:`t$`aa`bb`aa;v like "aa"
2010.02.26¶
New¶
-
command line option -o n (and \o n) - n now represents minutes if abs[o]>23. It continues to represent hours if abs[o]<24.
This is to accomodate timezone offsets that are partial hours (e.g. NSI,BSE in India)
Fixes and improvements¶
-
-17!`:file was not reading atomic symbols correctly.
-
q.k - revert enlist to be the general enlist, leaving plist as deprecated
2010.02.23¶
Fixes and improvements¶
- when serving http requests, processing of POST data was throwing 'length if authentication was in use.
2010.02.17¶
Fixes and improvements¶
-
\p 0W no longer prints the new port. It can be printed with \p
-
char vector files with u,p or g attribute with only 1 or 2 unique values, generated
with kdb+ 2.5 but read with kdb+ 2.6, resulted in a memory leak. e.g. `:file set `g#10#"A" These specific files generated with kdb+2.6 are not backwards compatible with kdb+2.5 due to an alignment problem introduced by GCC 4.3. kdb+2.6 will ignore the `g# for these specific files on load as it provides no benefit. -
given date splay with column b in table t, t[;`b] was seg faulting, now reports 'par.
2010.02.11¶
Fixes and improvements¶
- if partial message received when remote process died, cpu could spin until bad handle was hclosed locally.
2010.02.08¶
(updated)
New¶
- \ts expression - reports time taken (in mS) and memory space used (in bytes) to execute the expression
Fixes and improvements¶
- 16 vs -1 was causing seg fault
2010.02.03¶
Fixes and improvements¶
-
rollback blocking ";"'s introduced in 2010.01.31
-
in suspended mode when \e 1, if user entered \e 0 it would drop from suspended mode
2010.02.02¶
Fixes and improvements¶
-
ipc compression - leaves uncompressed if it can't compress to less than half of the uncompressed size.
-
mem allocator had difficulty detecting out of memory (introduced in 2010.01.31, unix platforms only)
2010.01.31¶
Fixes and improvements¶
-
allow "P"$ to accept more date formats, e.g. "P"$("2010.01.29 10:25";"2010-01-29 10:25";"2010/01/29 10:25")
-
obscure invalid dependency was causing remote to crash, e.g. h:hopen 5001;f:{x"A1::1 2+3 4 5";@[x;"A1";"FAIL"]};do[20;f h]
-
2000000000#'til 70 was causing bus error on v64
-
block ";"'s in views, as previously it became part of the view returning nothing.
2010.01.26¶
Fixes and improvements¶
- t:(.z.P);t.second was crashing
2010.01.20¶
Fixes and improvements¶
- prd with float types in an aggregation was wrong. e.g. select prd a by b from ([]b:`a`a;a:3 4.0)
2010.01.18¶
Fixes and improvements¶
-
ops {=|in|within} in a where clause were assuming the column name to be on the LHS.
e.g t:([]a:2 3);b:2;select from t where b=a -
month cast was wrong for 1899.12m and earlier. e.g. `mm$1899.11m was returning -1 instead of 11
2010.01.14¶
Fixes and improvements¶
-
hopen to a kdb+v2.5 instance specifying username "" would misidentify remote side as 2.6 capable
-
q.k - .Q.en was not retaining attributes on tables
2010.01.06¶
New¶
- .z.ac - authenticate from cookies, added to support Single Sign On for apps like SiteMinder.
2010.01.05¶
Fixes and improvements¶
-
delete from scalar - e.g. a:2;delete from a; now throws 'type error
-
amend on dict had incorrect behaviour when extending an array, e.g. @[(enlist `)!enlist ([price:`float$()]time:`timestamp$());`foo;0N!];
-
modified 2009.12.04 entry
2009.12.04¶
New¶
- q.k - equijoin ej. e.g. ej[`a;([]a:1 1 3 3 3 4;c:`a`b`c`d`e`f);([]a:2 2 3 3 1 4;d:`g`h`i`j`k`l)]lj ([a:1 2 3 4]b:`w`x`y`z)
Fixes and improvements¶
-
q.k - amended s1 to {-3!x} so that parse"f[;2]" displays correctly.
- amended enlist:,: and plist:.*(;) - xgroup removes key on y, and inplace enlist x. ord removed unnecessary enlist. -
suppress collapse of a column of dicts to type table (was causing crash)
e.g. 0N!{x,:x;x}{`x`y!(0;x)} each ([]a:enlist`a); -
allow nulls to be specified with lower case n i.e. 0[n|N][c|d|e|f|h|i|j|m|n|p|t|u|v|z]?
-
ltime now handles 0Nz,0Wz,0Np,0Wp
-
linux - cpu core detection failed under some circumstances, added fallback to full core count.
2009.11.11¶
Fixes and improvements¶
-
Linux only
-
running tally of heap in-use (.Q.w[]`used) was incorrect (growing vectors did not register the size grown)
2009.11.10¶
Fixes and improvements¶
-
-9!`byte$() was crashing
-
sped up multiplication and addition of vectors of long type
-
sped up by and fby
-
update x:1,y:2 from ([] x:1 2;y:1 2) was throwing 'type
2009.11.06¶
Fixes and improvements¶
-
\w (and .Q.w[]`wmax) now reports the artifical memory limit (specified with the cmd line param -w)
-
NB \w previously returned a 4 element vector of longs. It is length 5, and index 3 holds wmax, 4 holds mmap.
-
differ on boolean and byte vectors was inconsistent with the other types. e.g. differ 000b was 000b but should be 100b
2009.11.04¶
Fixes and improvements¶
- was crashing on `p#"AB"
2009.11.03¶
Fixes and improvements¶
-
match of nested in-mem and disk was wrong, e.g. `:testd/ set t:([]a:enlist 0 1);t~select from get `:testd/
-
`$([]a:enlist "a") was crashing
-
allow med to handle scalars, e.g. med 4
-
interpreter was not picking up single letter functions in .q namespace, e.g. .q.f:+;1 f 1
-
casting timestamp to datetime was wrong for a few nS around the millenium, e.g."z"$("z"$0)-("d"$0)+"t"$1
2009.10.23¶
Fixes and improvements¶
- (),:dict broke in 2009.10.22, e.g. l:();l,:`a`b!1 2
2009.10.22¶
Fixes and improvements¶
-
was dropping `u attribute when appending to an empty list, e.g. v:`u#();v,:1
-
v64 only - updated compiler used to build
-
tweaked memory allocator for better performance
2009.10.19¶
Fixes and improvements¶
- w64 only - enabled fast subnormal handling, e.g. speed up for \t inv .5 xexp abs i-/:i:til 1000
2009.10.15¶
Fixes and improvements¶
-
error detection when deserialising compressed ipc was incorrect (signalled error of a few random chars).
-
.q.var now mathematically equivalent to previous version but more tolerant as it lost precision on a list of numbers all the same. e.g. var 733#22833655
2009.10.08¶
New¶
- \p [-]0W listens on next available port
Fixes and improvements¶
-
Rollback tweaked memory allocator to previous version
-
fix 09:30<0D09:30:59, was reporting 0b
-
q.k restore .Q.f
-
allow date+min|sec|time, e.g. .z.d+10:00
2009.10.03¶
Fixes and improvements¶
-
`date$0Wz was returning incorrect value
-
tweaked memory allocator for performance
-
allow non-compressed ipc with clients (minimise changes to java, c#, etc drivers to be able to use new time types)
2009.09.28¶
Fixes and improvements¶
- handle(@;0;"command") remotely was erroneously not setting .z.w to 0 to execute "command".
2009.09.25¶
Fixes and improvements¶
-
given float vector(or matrix) V!float matrix M, V!M is matrix divide(least squares),!M is matrix inverse
-
then V!M is now regular dictionary, e.g. 0.1 0.2!(0.1 0.4 0.5; 0.1 0.6 0.7), i.e. restrict lsq to M!M
-
` in/:() now returns `boolean$()
2009.09.24¶
New¶
- q.k - dpt,dpft - nested context in hdb, e.g. foo.t:([]a:1 2 3;b:`a`b`c);.Q.dpft[`:/tmp/blah;`2009.09.24;`b;`foo.t]
Fixes and improvements¶
-
time*float was throwing 'type, e.g. 08:00:00.000*8.4
-
keyed table fill was not filling - e.g. ([a:1 2]b:`x`y)^([a:1 2]b:`r`)
2009.09.22¶
New¶
- retain `s attribute on list (and nested list) stored in file e.g. attr get `:file set `s#enlist "ab"
Fixes and improvements¶
- x like "A*" was crashing for some types of x (e.g. 2009.01.01 like "A*")
2009.09.18¶
New¶
- ipc pass through attrs on list e.g. -9!-8!`s#,"as"
Fixes and improvements¶
- meta select 0^sum b by a from ([]a:`symbol$();b:`float$()) was losing type info (broke in 2009.09.04 release)
2009.09.17¶
Fixes and improvements¶
-
min enlist `timestamp$0j was causing crash
-
gtime .z.P was throwing 'type
-
select sum time by id from ([]id:10#til 5;time:0D01:01:01+til 10) - sum timespans was failing
2009.09.16¶
(q binary same as 2009.09.15)
Fixes and improvements¶
- q.k lower to allow lists
2009.09.15¶
switch over from test version (2.6t) to production version (2.6)
Fixes and improvements¶
-
q.k lower now checks incoming types
-
x in y - was mistakenly using comparison tolerance for list in scalar. Changed to be consistent with list in list.
-
negative port multithreaded mode was not recognising 2.5 connections correctly.
2009.09.11¶
New¶
- added .Q.w[] - prints dict of \w and \w0 for easy reading
Fixes and improvements¶
-
was not writing out wsfull when memory exhausted and stderr is redirected using \1
-
mainthread parallel select (par.txt'd db) was failing
-
SIGTERM will cause same effect as typing exit 0 at the console
-
allow 1.+.z.D again
-
\w now prints values in units of bytes
-
\w first element ('used') now includes mapped allocs
-
tweaked mem allocator to avoid lock up when receving poorly formed ipc msgs
-
connection logic reworked -
-
2.6t->2.5, new time types blocked on sending ('type)
-
2.6t<->2.6t, no compression when localhost
-
.z.ts is now passed timestamp instead of datetime
2009.08.28¶
Fixes and improvements¶
-
allow exec from ([a:1 2]b:3 4)
-
reallow "t"$avg 2#.z.T (and .z.t,.z.D, etc)
-
allow t(), i.e. ([] til 10)()
-
amended README entry for 2009.03.31 to include overlooked q.k (.Q.d0) change
2009.08.26¶
New¶
-
bind to specific address, e.g. \p 127.0.0.1:5000
-
named service support, e.g. \p 127.0.0.1:kdb , with kdb entry in /etc/services
Fixes and improvements¶
-
was crashing on a:(`int$())!();a[`q]:0 same problem as t:([a:0 1;b:0 1]c:0 1);@[t;`a;`s#]
-
t^d now returns t modified with d (just like t^:d) e.g. t:([a:1 2]b:3 4;c:8 9);d:`a`b!1 0N;t^d
2009.08.21¶
Fixes and improvements¶
-
was signalling arch for `:/temp/blaht/ set ([]a:til 10;b:10#enlist" ");select from value `:/temp/blaht/
-
generalization of wj[(start;end);..] use wj[-1000 2000+\:trade`time;..
2009.08.20¶
New¶
-
-17!`:file to read in and flip vector files of other arch. should work for enums. nested is nyi. 'arch if type looks bad. is for maintenance only (i.e. read once, flip arch, save)
-
q.k .. d@:&~d like"*$" (avoid reading .$) file during \l
-
allow select (and exec)from `t (like meta)
Fixes and improvements¶
-
q.k redid .Q.en to reduce `:sym access
-
thread lambda inside parallel lambda - {select from t where a in {[d]exec a from ([]a:til 10) where a<d}[x]}[2]
-
reallow _.z.z "f"$d
-
redid "dt"$z "dn"$p
-
fixed `a xasc ([a:til 10]b:til 10)
-
t1:([a:`a`b]b:`c`d);t2:([a:`t1$`a`b]b:`a`b);`t1$`;`t2$` crashed
2009.08.09¶
Fixes and improvements¶
-
display of enumerated syms was incorrect
-
allow -8!(.z.p;.z.n)
2009.08.07¶
New¶
-
added timestamp, type -12h, system datetime as .z.p|.z.P, cast with `timestamp$..., parse with "P"$, range 1709.01.01 to 2290.12.31
-
added timespan, type -16h, system time as .z.n|.z.N, cast with `timespan$..., parse with "N"$..., range -106751D23:47:16.854775806 to 106751D23:47:16.854775806
Fixes and improvements¶
-
w64 only, allocs greater than 2GB were causing kdb+ to lock up
-
w64 only, was crashing on asc 9#.5 50000
-
m32 only, `:t set data, sometimes wrote a corrupt file header
-
osx only, localtime (.z.T,.z.Z,.z.D) was incorrect
-
.z.W now returns dict of handles!vector of msg sizes; previous behavior can be obtained with sum each .z.W
-
{count x,x}(1024*1024*1024)#"abcd" was crashing
-
deltas 30 32 39h was returning 0N 2 7 instead of 30 2 7
-
in multithreaded mode allow updates to globals via .z.ts (linux,solaris only, windows later)
-
("SS";enlist csv)0:`:file crashed if last line of file was missing a delimeter and the file also ended on a page boundary
-
block bad cast t:([a:()] b:());`t$([] a:20 30)
-
extend scalar t:([]a:enlist 1);t[`b]:1
-
rework of .z.t to be consistent with "t"$.z.z (previously `time$ rounded and .z.T truncated), without losing higher resolutions of .z.z
-
reactivated zeroing of dictionaries, e.g.
((enlist {})!enlist (enlist {})!enlist (enlist {})!enlist 1000)[`;`;`] -
hclose -1 caused crash
-
loading a file containing a symbol vector only with an attribute, where the file had been appended to, resulted in a partial load of the data ingoring the appended data
-
e.g. `:sym set `u#0#`;.Q.en[`:.;([]a:`a`b)];(`:.)`sym
-
additionally, loading of this type of file could have dropped the attribute under some boundary cases
-
hsym of char vector longer than 256 chars was crashing, e.g. hsym `$263?" "
-
nonnest fset will now delete extant f#
-
(0Nd;0 1) in t was crashing when t had a foriegn key
-
empty lists for xasc/xdesc, e.g.() xasc t is now a null op
-
{(`a xasc x+y)~`a xasc y+x}[([a:enlist 1]b:enlist 1.0);([a:0 1]b:2 0n)] nulls on the right were ignored because it is calling aggregation which ignored nulls
-
{[x]select from ([]a:til 10) where a in exec a from ([]a:til 10) where a<x}5 was failing in negative port mode
-
parse of June/July for "D"$"June 12 2009" was returning 0Nd
-
preserves supg on value enum var (and thus in ipc)
-
"-w abort" message added to indicate the process was trying to exceed the artificial memory limit specified by the -w command
line parameter
2009.06.04¶
Fixes and improvements¶
- previous l64 build was 32bit
2009.05.29¶
Fixes and improvements¶
- hopen on osx was failing
2009.05.28¶
New¶
-
\w now reports (M0 sum of allocs from M1,in bytes;M1 mapped anon,in MB;M2 peak of M1;M3 mapped files,in bytes)
-
q prompt shows namespace
Fixes and improvements¶
-
append to keyed table where key was char vectors. t:([k1:("aa";"bb");k2:("cc";"dd")]v:1 2);t,:("xx";"yy";3)
-
fixed error message for gethostbyname. hopen `$":169.191.35.299:5099";'169.191.35.299: File exists
-
timeout support for hopen added (was already in 2.5)
2009.04.15¶
New¶
- Distributions now only contain the q binary and q.k. Other components such as s.k and odbc can be obtaind from kx.com/q
Fixes and improvements¶
-
((`a`b!(1 2)),(enlist `c)!enlist 3.0) _ `c / was not collapsing back to int vector for value
-
wj no longer fixed col name of time, but still 2 column only
-
when changing the timer to a lower value, no longer waits for previous expiry
-
-18! can now compress repeated single (and double bytes)
-
table?() is til 0 so that multicolumn foreign key on empty works e.g. `sp$()
2009.03.31¶
New¶
-
ipc compression, automatic on 2.6<->2.6, for serialized objects > 2k, not localhost, 180MB/s on taq data, compress -18!x, uncompress -9!x
-
wj - window join
-
dtrace - osx & sol
-
command line param -u 1 blocks system escapes
Fixes and improvements¶
- q.k .Q.d0 now checks the last partition to get a list of tables