Developer Tools
Questions related to KX Developer Tooling
cancel
Showing results for 
Search instead for 
Did you mean: 

Forum Posts

Optimizating csv import

The following program is parsing csv into in-memory table at about 22 MB/sec. I have repeated the benchmark a few times. The data is in the OS disk cache. The program is 1 core CPU-bound. My CPU is i5-3230M @ 2.60 GHz on a laptop. How can I make it f...

LamHinYan by New Contributor
  • 1691 Views
  • 12 replies
  • 0 kudos

. (dot) Does Not Work with mod?

Hi,I'm facing a strange error with mod and . (dot) operators. Please see the session log below:===============SESSION=======================D:\DEV>qKDB+ 3.2 2015.03.05 Copyright (C) 1993-2015 Kx Systemsw32/ 4()core 4095MB Think flying-thinkpad 192.16...

Flying by New Contributor III
  • 542 Views
  • 3 replies
  • 0 kudos

Keyed table with no value columns

I want to define a "parent" table that has only a primary key as column. Trying this fails.q) p:([k:`$()]) 'parse So based on what I am reading in Q for mortals I came up with this:q) p:flip (enlist `k)!enlist `$()Is there no table definition syntax ...

borota by New Contributor
  • 485 Views
  • 2 replies
  • 0 kudos

C# and composite keys

I am using C# interface as described here: http://code.kx.com/wiki/Cookbook/InterfacingWithCSharpI have a q table that has a composite foreign key and I want to bulk insert into it. How do I pass the composite key column values?I tried Array of Array...

borota by New Contributor
  • 1294 Views
  • 7 replies
  • 0 kudos

Can't read splayed tables bigger than 38 GB

Have folder structure: C:/dir/2014.01.01/exampleTable C:/dir/2014.01.01/sym ... do \cd dir/2014.01.01 exampleTable:get:`exampleTable If folder less than 38 GB typing exapleTable or a more specific query will work, else get +.... error. Is there a way...

A_L_V_ by New Contributor
  • 628 Views
  • 3 replies
  • 0 kudos