ghdna / athena-express

Athena-Express can simplify executing SQL queries in Amazon Athena AND fetching cleaned-up JSON results in the same synchronous or asynchronous request - well suited for web applications.
https://www.npmjs.com/package/athena-express
MIT License
181 stars 70 forks source link

BIGINT type data returning as string #84

Closed ncoughlin closed 2 years ago

ncoughlin commented 2 years ago

I'm having an issue where all of my data that is in the BIGINT format is being returned as a string instead of a number. There are workarounds on the receiving end but it would be much better if it was returning straight number format.

ghdna commented 2 years ago

See #79 The trailing 'n' and the string datatype can seem odd but its actually the accurate denotation of bigint primitive