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

Forum Posts

Reducing RAM usage when re-enumerating symbol columns

Hi, Is there a method to re-enumerate symbol columns in a splayed table without loading in the entire column file? This is part of a data copy between two HDBs, and we want to avoid pulling the entire column into memory if possible. Looked at using 1...

eohara_kdb by New Contributor III
  • 1 replies
  • 0 kudos

Resolved! How can I apply a function with 'if' to a table?

Hi! I'm trying to apply a function to a table. The basic idea is that if the 2 prices adds up to 0, then the new column gets 0, otherwise it gets the product of the 2 prices. However I encountered 'type error. The codes I wrote were: //This is for cr...

iShot2024-02-01 16.31.47.png
voiddump by New Contributor
  • 4 replies
  • 0 kudos