Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[SPARK-48604][SQL] Replace deprecated `new ArrowType.Decimal(precisio…
…n, scale)` method call ### What changes were proposed in this pull request? This pr replaces deprecated classes and methods of `arrow-vector` called in Spark: - `Decimal(int precision, int scale)` -> `Decimal( JsonProperty("precision") int precision, JsonProperty("scale") int scale, JsonProperty("bitWidth") int bitWidth )` All `arrow-vector` related Spark classes, I made a double check, only in `ArrowUtils` there is a deprecated method call. ### Why are the changes needed? Clean up deprecated API usage. ### Does this PR introduce _any_ user-facing change? No. ### How was this patch tested? Passed GA. ### Was this patch authored or co-authored using generative AI tooling? No. Closes #46961 from wayneguow/deprecated_arrow. Authored-by: Wei Guo <guow93@gmail.com> Signed-off-by: yangjie01 <yangjie01@baidu.com>
- Loading branch information