Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

have cudajni, how to use in java, why not have java cudf demo tutorial? #17761

Open
mullerhai opened this issue Jan 17, 2025 · 2 comments
Open

Comments

@mullerhai
Copy link

Hi,
write scala ,we need cudf on GPU ,but Cudf.readcsvfile, cannot use in java scala ,how to use,please show me demo in java with cudf ,thanks

@revans2
Copy link
Contributor

revans2 commented Jan 21, 2025

https://github.com/NVIDIA/spark-rapids/blob/c3e4b66fdf33b06605f4c632eb8451e2a69d768d/sql-plugin/src/main/scala/com/nvidia/spark/rapids/GpuCSVScan.scala#L367-L388

is how we are using it in the Spark-RAPIDS project (with both scala 2.12 and 2.13). It is not perfect and because of subtitle incompatibilities between it and Spark's CSV parsing it is off by default. We also have a lot of complicated code wrapping it to make it work better. Could you explain what are the issues you are having with it?

@mullerhai
Copy link
Author

https://github.com/NVIDIA/spark-rapids/blob/c3e4b66fdf33b06605f4c632eb8451e2a69d768d/sql-plugin/src/main/scala/com/nvidia/spark/rapids/GpuCSVScan.scala#L367-L388

is how we are using it in the Spark-RAPIDS project (with both scala 2.12 and 2.13). It is not perfect and because of subtitle incompatibilities between it and Spark's CSV parsing it is off by default. We also have a lot of complicated code wrapping it to make it work better. Could you explain what are the issues you are having with it?

Hi, the cudfjni not have pivot operate,when we will implement them

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants