Marcus-Rosti commented on issue #7226:
URL: https://github.com/apache/iceberg/issues/7226#issuecomment-1694345235
> Hello, my friends.
>
> I'm using Structured streaming writes to partitioned table, and I'm using
Iceberg's transformations to partition.
>
> Trying to record with .start(), I get the same error, but testing to use
the approach of passing toTable('iceberg_table') instead of start(), it worked.
>
> I am using Iceberg 1.3.0 and Spark 3.4.0.
>
> This way it didn't work
>
> ```
> df.writeStream.format("iceberg").outputMode("append").trigger(
> once=True
> ).option("path", iceberg_table).option("fanout-enabled", "true").option(
> "checkpointLocation",
> checkpoint_location,
> ).start().awaitTermination()
> ```
>
> This way it worked:
>
> ```
> df.writeStream.format("iceberg").outputMode("append").trigger(
> once=True
> ).option("path", iceberg_table).option("fanout-enabled", "true").option(
> "checkpointLocation",
> checkpoint_location,
> ).toTable(
> iceberg_table
> ).awaitTermination()
> ```
Yeah I got an error with iceberg 1.3 and spark 3.3, that's interesting
--
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]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]