ekin4l opened a new issue #4079:
URL: https://github.com/apache/iceberg/issues/4079
hi
I followed the documentation example and encountered an error when writing
a DataFrame to a table
for example : shopDF is a dataframe contains some shop infos, when write
to an iceberg table, it throw an error:
shopDF.writeTo("hive_prod.icedb.t_shop").tableProperty("write.format.default","parquet").partitionBy($"city").createOrReplace()
<console>:24: error: value partitionBy is not a member of
org.apache.spark.sql.CreateTableWriter[org.apache.spark.sql.Row]
shopDF.writeTo("hive_prod.icedb.t_shop").tableProperty("write.format.default","parquet").partitionBy($"city").createOrReplace()
thanks
--------vesion infomation----
spark : 3.2.1
iceberg : org.apache.iceberg:iceberg-spark-runtime-3.2_2.12:0.13.0
java : 1.8
--
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]