plot icon indicating copy to clipboard operation
plot copied to clipboard

coerce Arrow BigInt to Number

Open mbostock opened this issue 1 year ago • 2 comments

Ref. https://github.com/observablehq/plot/pull/2155#pullrequestreview-2266406998

Note that in the case of DuckDB-Wasm, we default config.query.castBigIntToDouble to true, so we shouldn’t see BigInt in practice with DuckDB, but we might still see it when loading Arrow or Parquet files.

mbostock avatar Sep 09 '24 15:09 mbostock

Sounds good. I'll work on a unit test.

Fil avatar Sep 09 '24 16:09 Fil

I've added a unit test, however it reveals some other issues. I'll comment inline.

Fil avatar Sep 09 '24 17:09 Fil