gyasukawa / google-refine

Automatically exported from code.google.com/p/google-refine
0 stars 0 forks source link

float rejected from sandbox upload as Json object #13

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Using a schema that is ready to load into Freebase, and containing a column 
mapped to a property of type 'float'.  Load the triples into Freebase 
sandbox. I find that all the float values are being rejected as Json objects.  
See http://gridworks-loads.freebaseapps.com/job/23

In the schema alignment skeleton, the language value is set to /lang/en. (not 
sure if that is of interest)

Let me know if you need the project file.

Original issue reported on code.google.com by iainsproat on 10 May 2010 at 8:42

GoogleCodeExporter commented 9 years ago
The data sent actually *is* a string (it has "" quotes around it). Have you 
called value.toNumber() on those 
columns?

Original comment by stefano.mazzocchi@gmail.com on 10 May 2010 at 11:27

GoogleCodeExporter commented 9 years ago
Yes, value.toNumber() has been used to transform all the cells.  The values 
remain 
quoted and still failing -> http://gridworks-loads.freebaseapps.com/job/25

Original comment by iainsproat on 11 May 2010 at 5:51

GoogleCodeExporter commented 9 years ago
Iain, I'll take a look soon!

Original comment by dfhu...@gmail.com on 11 May 2010 at 5:53

GoogleCodeExporter commented 9 years ago
Fixed in r708. Iain, could you check out and verify? Thanks.

Original comment by dfhu...@gmail.com on 11 May 2010 at 7:01

GoogleCodeExporter commented 9 years ago
Seems to be fixed from the preview.  (no quotation marks around floats).  
However, the 
fix to issue 10 threw a bug which prevents me from uploading at this time (see 
comments 
to #10 for bug)

Original comment by iainsproat on 11 May 2010 at 7:13

GoogleCodeExporter commented 9 years ago

Original comment by tfmorris on 18 Sep 2012 at 2:21

GoogleCodeExporter commented 9 years ago

Original comment by tfmorris on 18 Sep 2012 at 2:49