NVIDIA / spark-rapids

Spark RAPIDS plugin - accelerate Apache Spark with GPUs
https://nvidia.github.io/spark-rapids
Apache License 2.0
822 stars 235 forks source link

[BUG] update date/time APIs in CUDF java to avoid deprecated functions #11718

Open revans2 opened 1 week ago

revans2 commented 1 week ago

Describe the bug

https://github.com/rapidsai/cudf/commit/ac5b3ed1fd69abc424255b07bb66cebea5666f08 deprecated a bunch of APIs that our CUDF code uses and that the spark-rapids plugin uses.

https://github.com/rapidsai/cudf/blob/bbaa1ab1eab41d26ca2b280b3b48a73ed3f411b9/java/src/main/native/src/ColumnViewJni.cpp#L1102-L1177

We should switch to using the new API that covers these, and extend the APIs int eh java code to cover a lot of other methods that have been added so that we can have better support for dealing with date/time operations.