AliRana30 opened a new pull request, #49171:
URL: https://github.com/apache/arrow/pull/49171

    ### Rationale for This Change
   
   The `decimal()` factory function was deprecated in **Arrow v18.0.0** (over 6 
years ago) in favor of `smallest_decimal()`. The deprecation grace period has 
long since passed, and the function is **no longer used anywhere in the C++ 
codebase**.
   
   ---
   
   ### What Changes Are Included in This PR?
   
   This PR removes the deprecated factory function:
   
   ```cpp
   decimal(int32_t precision, int32_t scale)
   ```
   
   ### Are These Changes Tested?
   
   Yes.
   
   - Verified via full codebase search that no usages remain.
   - No new tests are required since this change removes unused, deprecated 
code.
   
   ### Are There Any User-Facing Changes?
   
   Yes.
   
   - The deprecated `decimal()` factory function is removed.
   - Users should instead use:
     - `smallest_decimal()`, or
     - the explicit factory functions: `decimal32()`, `decimal64()`, or 
`decimal128()`


-- 
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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to