thiagotognoli opened a new pull request, #171: URL: https://github.com/apache/olingo-odata4/pull/171
Fix: Serialization error when using sum on decimal values in aggregate expressions This PR addresses a bug where using the sum aggregation on decimal properties would lead to a JSON serialization error due to missing or inconsistent scale information. To resolve this, support for dynamic property options (e.g., scale) was added, allowing the aggregation parser and type constructor to handle decimal precision correctly during aggregation. Key changes: Introduced support for dynamic property options in aggregate expressions. Ensured scale is preserved and correctly applied during parsing and result construction. Improved compatibility with JSON serialization by ensuring consistent type metadata. This fix is essential for systems that rely on precise decimal aggregation and downstream serialization (e.g., REST APIs or JSON-based storage). -- 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: dev-unsubscr...@olingo.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org