MrPowers opened a new issue, #2511: URL: https://github.com/apache/sedona/issues/2511
It would be nice to have an interface that converts a SedonaSpark DataFrame to a SedonaDB DataFrame easily. Here is a current solution that works: ```python import sedona.db sd = sedona.db.connect() df = sd.create_data_frame(dataframe_to_arrow(spark_df)) ``` This could be nice: ```python spark_df.to_sedonadb() ``` But maybe we'd have to do this: ```python spark_df.to_sedonadb(sd) ``` This would allow for cool spatial workflows, like this: * Read an Iceberg table with SedonaSpark and perform big data operations with a filtering operation at the end to make the data small enough to fit on a single machine * Convert the SedonaSpark DataFrame to SedonaDB * Use a library that's compatible with SedonaDB, like lonboard, to create a graph Let me know what you think! -- 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]
