One of our engineers is working on a target for ic...
# troubleshooting
t
One of our engineers is working on a target for iceberg. He's using pyspark and struggling with it. Can meltano target use pyspark? I think it has java dependencies. Meltano does not support java, right? I know airbyte does. Any idea how to deal with this? Can we use pyspark inside meltano? If not, how can he write data in Iceberg format?
v
Meltano can run any executable and pipe data to it so it can target java
e
There's also https://py.iceberg.apache.org/
PyIceberg is a Python implementation for accessing Iceberg tables, without the need of a JVM.
t
@visch thank you so much @edgar_ramirez_mondragon I'll ask him to try pyiceberg instead
e
Do let me know how it goes!
t
@edgar_ramirez_mondragon I think PyIceberg does not support writing data into Iceberg table. I could create table, but didn't find any way to write data from csv to Iceberg. Do you know any workaround??
e
Ah, I saw references to pyarrow in their docs and thought it would simply use that to write to Iceberg: https://github.com/apache/iceberg-python/issues/23. That's unfortunate 😕.