komsit37 / sublime-q

Sublime Text Plugin for q/kdb
MIT License
24 stars 9 forks source link

fix bug where large number result causes q to crash with 'wsfull #18

Closed komsit37 closed 5 years ago

komsit37 commented 5 years ago

https://github.com/komsit37/sublime-q/issues/17 This is caused by my custom q code wrapper which tries to figure out table dimension from the result. In short, it tries to to execute 'cols 60000000000' and got 'wsfull'. The fix is to NOT call 'cols' on atom types (type < 0) (doing this will raise error anyway)