Skip to content
This repository was archived by the owner on May 17, 2024. It is now read-only.

Fix precision recognition #823

Merged
merged 11 commits into from
Jan 3, 2024
Merged

Conversation

vvkh
Copy link
Contributor

@vvkh vvkh commented Dec 29, 2023

In Postgres, if type is specified as NUMERIC (no scale/precision parameters), the effective scale is 16383 (docs).
In BigQuery, the effective scale in this case is 9 (community forum).

@vvkh vvkh force-pushed the fix-numeric-precision-recognition-bq-pg branch from 397cc0d to c13e21b Compare December 29, 2023 11:22
@vvkh vvkh marked this pull request as ready for review December 29, 2023 12:16
@vvkh vvkh force-pushed the fix-numeric-precision-recognition-bq-pg branch from 36cb51d to 6a18838 Compare December 29, 2023 12:17
@vvkh vvkh force-pushed the fix-numeric-precision-recognition-bq-pg branch from 7c0ab72 to 3ce1832 Compare December 29, 2023 12:22
@vvkh vvkh force-pushed the fix-numeric-precision-recognition-bq-pg branch from e25f45c to 781d2ea Compare December 29, 2023 12:35
@vvkh vvkh merged commit 537d73b into master Jan 3, 2024
@vvkh vvkh deleted the fix-numeric-precision-recognition-bq-pg branch January 3, 2024 20:27
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants