May 9, 2016
6:13 p.m.
On Mon, May 09, 2016 at 03:06:38PM -0300, Alexandre Bergel wrote:
The following script still raises an error⦠No idea whyâ¦
urlAsString := 'https://github.com/sudar/pig-samples/raw/master/data/tweets.csv'. (NeoCSVReader on: urlAsString asUrl retrieveContents readStream) skipHeader; upToEnd.
Apparently SmallInteger>>codePoint does not exist...
I think you need to convert the contents to a string first... | urlAsString contents | urlAsString := 'https://github.com/sudar/pig-samples/raw/master/data/tweets.csv'. contents := urlAsString asUrl retrieveContents asString. (NeoCSVReader on: contents readStream) skipHeader; upToEnd. Cheers, Alistair