diff --git a/gooddata-dbt/gooddata_dbt/dbt/tables.py b/gooddata-dbt/gooddata_dbt/dbt/tables.py index 89189eb51..3cfe08611 100644 --- a/gooddata-dbt/gooddata_dbt/dbt/tables.py +++ b/gooddata-dbt/gooddata_dbt/dbt/tables.py @@ -127,9 +127,9 @@ def gooddata_is_fact(self) -> bool: def gooddata_is_attribute(self) -> bool: valid_ldm_types = [GoodDataLdmTypes.ATTRIBUTE.value, GoodDataLdmTypes.PRIMARY_KEY.value] - # Without GD metadata, attribute is default unless it is DATETIME data type + # Without GD metadata, attribute is default unless it is DATETIME/NUMBER(FLOAT) data type return self.meta.gooddata.ldm_type in valid_ldm_types or ( - self.meta.gooddata.ldm_type is None and not self.is_date() + self.meta.gooddata.ldm_type is None and not self.is_date() and not self.is_number() ) def gooddata_is_label(self, attribute_column_name: str) -> bool: