This is an automated email from the ASF dual-hosted git repository. morningman pushed a commit to branch dev-1.0.1 in repository https://gitbox.apache.org/repos/asf/incubator-doris.git
commit 9aeafb0fb141a5543a3c7810dab81e799978f4b8 Author: dataroaring <[email protected]> AuthorDate: Thu Mar 31 12:30:35 2022 +0800 [refactor] remove useless code in DataTypeDecimal (#8707) --- be/src/vec/data_types/data_type_decimal.h | 2 -- 1 file changed, 2 deletions(-) diff --git a/be/src/vec/data_types/data_type_decimal.h b/be/src/vec/data_types/data_type_decimal.h index 21cdbed..d701ece 100644 --- a/be/src/vec/data_types/data_type_decimal.h +++ b/be/src/vec/data_types/data_type_decimal.h @@ -108,8 +108,6 @@ public: // Now, Doris only support precision:27, scale: 9 DCHECK(precision_ == 27); DCHECK(scale_ == 9); - precision_ = 27; - scale_ = 9; } const char* get_family_name() const override { return "Decimal"; } --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
