There are a number of places where we are computing the incorrect output_type for some operations as well as computing a float64 output type for operations whose inputs are decimals. Impala explicitly does this and so does BigQuery. The upshot of this is that when schema.apply_to(result) is called in these backends we will convert the data (which will be float64Series objects) into Decimal columns.
Closes#1534 Depends on #1541
Author: Phillip Cloud <email@example.com>
Closes#1535 from cpcloud/add-bq-numeric and squashes the following commits:
03e7706 [Phillip Cloud] Remove unused variable
db5318e [Phillip Cloud] Cleanup dispatch
97675ea [Phillip Cloud] Add support for NUMERIC in the BigQuery backend 2
7012efe [Phillip Cloud] Add support for NUMERIC in the BigQuery backend
990d6fd [Phillip Cloud] Add datamgr numeric_table creation
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.