firebase / firebase/firebase-js-sdk

FR: Explicit control over conversion of numbers to IntegerValue or DoubleValue

Open
#2,611 1 comment 0 reactions 0 assignees View on GitHub
api: firestore feature request
Dominant language
TypeScript
Stars
5.1k
Forks
1k
Avg merge
2d 21h
Merged PRs (30d)
37

Description

* Firebase Product: Firestore

The firestore client stores numbers that are integers as Integer values.
Obviously this can be helpful sometimes. But if I have a column that contains both integers and doubles, then the data is a mess when I import it into bigquery.
It seems like it might also make things more complicated when using the admin api from other languages that then have to deal with both types.
It'd be nice if there were some way to tell firestore to explicitly save a number as a double so this doesn't happen.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.