EclairJS / eclairjs-nashorn

JavaScript API for Apache Spark
Apache License 2.0
94 stars 11 forks source link

Integer to Double Conversion Errors #275

Closed doronrosenberg closed 8 years ago

doronrosenberg commented 8 years ago

@bpburns

See EclairJS/eclairjs-node/issues/102

Basically a schema defines DataTypes.DoubleType but javascript converts 1.0 to 1 and you get cast errors.

billreed63 commented 8 years ago

@doronrosenberg Can you provide example code?

doronrosenberg commented 8 years ago

This is actually solved in 0.5, I was testing using an older jar.