q lang - How to apply max function for each row in KDB? -
i want ensure values in column x no smaller 0.5, do:
update x:max (x 0.5) mytable but gives error (in studio kdb+):
an error occurred during execution of query. server sent response: type studio hint: possibly error refers wrong type, e.g `a+1 what's wrong?
you can try using |
q)update x|0.5 mytable
Comments
Post a Comment