Re: [PR] feat: Implement Decimal from/to bytes represents [iceberg-rust]

2024-12-13 Thread via GitHub
liurenjie1024 merged PR #665: URL: https://github.com/apache/iceberg-rust/pull/665 -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: issues-unsubscr...@ic

Re: [PR] feat: Implement Decimal from/to bytes represents [iceberg-rust]

2024-12-13 Thread via GitHub
Xuanwo commented on PR #665: URL: https://github.com/apache/iceberg-rust/pull/665#issuecomment-2540876657 cc @Fokko, would you like to take another? I believe it's good for merging now. -- This is an automated message from the Apache Git Service. To respond to the message, please log on t

Re: [PR] feat: Implement Decimal from/to bytes represents [iceberg-rust]

2024-12-11 Thread via GitHub
Xuanwo commented on code in PR #665: URL: https://github.com/apache/iceberg-rust/pull/665#discussion_r1879569854 ## crates/iceberg/src/spec/values.rs: ## @@ -1012,6 +1053,33 @@ impl Datum { } } +/// Try to create a decimal literal from [`Decimal`] with precis

Re: [PR] feat: Implement Decimal from/to bytes represents [iceberg-rust]

2024-12-09 Thread via GitHub
liurenjie1024 commented on code in PR #665: URL: https://github.com/apache/iceberg-rust/pull/665#discussion_r1875657680 ## crates/iceberg/src/spec/values.rs: ## @@ -1012,6 +1053,33 @@ impl Datum { } } +/// Try to create a decimal literal from [`Decimal`] with

Re: [PR] feat: Implement Decimal from/to bytes represents [iceberg-rust]

2024-12-06 Thread via GitHub
Xuanwo commented on PR #665: URL: https://github.com/apache/iceberg-rust/pull/665#issuecomment-2522777447 cc @liurenjie1024 and @Fokko to take another look, sorry for the long wait. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to Git

Re: [PR] feat: Implement Decimal from/to bytes represents [iceberg-rust]

2024-12-06 Thread via GitHub
Xuanwo commented on code in PR #665: URL: https://github.com/apache/iceberg-rust/pull/665#discussion_r1873003768 ## crates/iceberg/src/spec/values.rs: ## @@ -3031,6 +3061,31 @@ mod tests { check_avro_bytes_serde(bytes, Datum::string("iceberg"), &PrimitiveType::String);

Re: [PR] feat: Implement Decimal from/to bytes represents [iceberg-rust]

2024-12-06 Thread via GitHub
Xuanwo commented on code in PR #665: URL: https://github.com/apache/iceberg-rust/pull/665#discussion_r1873001766 ## crates/iceberg/src/spec/values.rs: ## @@ -3031,6 +3061,31 @@ mod tests { check_avro_bytes_serde(bytes, Datum::string("iceberg"), &PrimitiveType::String);

Re: [PR] feat: Implement Decimal from/to bytes represents [iceberg-rust]

2024-12-06 Thread via GitHub
Xuanwo commented on code in PR #665: URL: https://github.com/apache/iceberg-rust/pull/665#discussion_r1872977554 ## crates/iceberg/src/spec/values.rs: ## @@ -449,7 +456,30 @@ impl Datum { PrimitiveLiteral::String(val) => ByteBuf::from(val.as_bytes()), P

Re: [PR] feat: Implement Decimal from/to bytes represents [iceberg-rust]

2024-12-06 Thread via GitHub
Xuanwo commented on code in PR #665: URL: https://github.com/apache/iceberg-rust/pull/665#discussion_r1872778193 ## crates/iceberg/src/spec/values.rs: ## @@ -3031,6 +3061,31 @@ mod tests { check_avro_bytes_serde(bytes, Datum::string("iceberg"), &PrimitiveType::String);

Re: [PR] feat: Implement Decimal from/to bytes represents [iceberg-rust]

2024-12-06 Thread via GitHub
Fokko commented on code in PR #665: URL: https://github.com/apache/iceberg-rust/pull/665#discussion_r1872763818 ## crates/iceberg/src/spec/values.rs: ## @@ -3031,6 +3061,31 @@ mod tests { check_avro_bytes_serde(bytes, Datum::string("iceberg"), &PrimitiveType::String);

Re: [PR] feat: Implement Decimal from/to bytes represents [iceberg-rust]

2024-10-24 Thread via GitHub
liurenjie1024 commented on code in PR #665: URL: https://github.com/apache/iceberg-rust/pull/665#discussion_r1814592044 ## crates/iceberg/src/spec/values.rs: ## @@ -449,7 +456,30 @@ impl Datum { PrimitiveLiteral::String(val) => ByteBuf::from(val.as_bytes()),

Re: [PR] feat: Implement Decimal from/to bytes represents [iceberg-rust]

2024-10-23 Thread via GitHub
Xuanwo commented on code in PR #665: URL: https://github.com/apache/iceberg-rust/pull/665#discussion_r1812068075 ## crates/iceberg/src/spec/values.rs: ## @@ -449,7 +456,30 @@ impl Datum { PrimitiveLiteral::String(val) => ByteBuf::from(val.as_bytes()), P

Re: [PR] feat: Implement Decimal from/to bytes represents [iceberg-rust]

2024-10-22 Thread via GitHub
sdd commented on code in PR #665: URL: https://github.com/apache/iceberg-rust/pull/665#discussion_r1811988261 ## crates/iceberg/src/spec/values.rs: ## @@ -449,7 +456,30 @@ impl Datum { PrimitiveLiteral::String(val) => ByteBuf::from(val.as_bytes()), Prim

Re: [PR] feat: Implement Decimal from/to bytes represents [iceberg-rust]

2024-10-17 Thread via GitHub
liurenjie1024 commented on code in PR #665: URL: https://github.com/apache/iceberg-rust/pull/665#discussion_r1804486414 ## crates/iceberg/src/spec/values.rs: ## @@ -3031,6 +3061,31 @@ mod tests { check_avro_bytes_serde(bytes, Datum::string("iceberg"), &PrimitiveType::S