cube-js/cube
Vedi su GitHubVariable Length Decimal Support to Handle Cube Store Parquet Data Type Issues
Open
#3412 aperta il 10 set 2021
cube storehelp wanted
Metriche repository
- Star
- (19.563 star)
- Metriche merge PR
- (Merge medio 5g 16h) (138 PR mergiate in 30 g)
Descrizione
Describe the bug When leveraging a MySQL decimal field that is defined as DECIMAL(65,30), the pre-aggregated results cannot be stored within Cube Store.
To Reproduce Steps to reproduce the behavior:
- Create a MySQL table (likely any database will do as its a Parquet conversion issue) with DECIMAL(65,30).
- Insert extremely large values in this field.
- Perform an aggregate query using SUM
- Define as a pre-aggregate query
- Watch the CREATE TABLE process fail when using Cube Store as your pre-aggregate data store repository.
Expected behavior
- Ideal behavior - Cube Store can correctly map data types of this nature.
- Acceptable behavior - Variable length can be defined as part of your measurement definition for pre-aggregate consumption
Screenshots N/A
Version: Current
Additional context None