Hi everyone, I get an error when I try to read a large fileq) 1#read0 :q/data/taqtrade.csvq) 1#read0
:q/data/Life.txt"So"but in Bash,$ ll q/data/taqtrade.csv q/data/Life.txt-rw-rw-r-- 1 … … 8 Feb 8 10:43 q/data/Life.txt-rw-r–r-- 1 … … 9393054780 Jan 30 14:26 q/data/taqtrade.csvwhere … is where I’ve deleted my username.Moreover, Bash seems to recognize the file$ more q/data/taqtrade.csvSYMBOL,DATE,TIME,PRICE,SIZE,EXA,20000403,9:31:27,103,12600,NA,20000403,9:31:32,103,1700,NA,20000403,9:31:33,103,100,MA,20000403,9:31:33,103,1000,MA,20000403,9:31:33,103,100,MA,20000403,9:31:33,103,100,M…Anyone know how to get around this one?
https://code.kx.com/trac/wiki/Cookbook/LoadingFromLargeFilesOn Feb 8, 9:54?am, Michael <princetonbac…> wrote:> Hi everyone, I get an error when I try to read a large file>> q) 1#read0 :q/data/taqtrade.csv> q) 1#read0
:q/data/Life.txt> “So”>> but in Bash,>> $ ll q/data/taqtrade.csv q/data/Life.txt> -rw-rw-r-- 1 … … ? ? ? ? ?8 Feb ?8 10:43 q/data/Life.txt> -rw-r–r-- 1 … … 9393054780 Jan 30 14:26 q/data/taqtrade.csv>> where … is where I’ve deleted my username.> Moreover, Bash seems to recognize the file>> $ more q/data/taqtrade.csv> SYMBOL,DATE,TIME,PRICE,SIZE,EX> A,20000403,9:31:27,103,12600,N> A,20000403,9:31:32,103,1700,N> A,20000403,9:31:33,103,100,M> A,20000403,9:31:33,103,1000,M> A,20000403,9:31:33,103,100,M> A,20000403,9:31:33,103,100,M>> …>> Anyone know how to get around this one?</princetonbac…>
Thanks!On Feb 8, 10:57?am, hlivni <hagai.li…> wrote:> https://code.kx.com/trac/wiki/Cookbook/LoadingFromLargeFiles>> On Feb 8, 9:54?am, Michael <princetonbac…> wrote:>>>> > Hi everyone, I get an error when I try to read a large file>> > q) 1#read0 :q/data/taqtrade.csv> > q) 1#read0
:q/data/Life.txt> > “So”>> > but in Bash,>> > $ ll q/data/taqtrade.csv q/data/Life.txt> > -rw-rw-r-- 1 … … ? ? ? ? ?8 Feb ?8 10:43 q/data/Life.txt> > -rw-r–r-- 1 … … 9393054780 Jan 30 14:26 q/data/taqtrade.csv>> > where … is where I’ve deleted my username.> > Moreover, Bash seems to recognize the file>> > $ more q/data/taqtrade.csv> > SYMBOL,DATE,TIME,PRICE,SIZE,EX> > A,20000403,9:31:27,103,12600,N> > A,20000403,9:31:32,103,1700,N> > A,20000403,9:31:33,103,100,M> > A,20000403,9:31:33,103,1000,M> > A,20000403,9:31:33,103,100,M> > A,20000403,9:31:33,103,100,M>> > …>> > Anyone know how to get around this one?</princetonbac…></hagai.li…>