jkolash commented on issue #10225: URL: https://github.com/apache/iceberg/issues/10225#issuecomment-2078150463
```kotlin val df = spark.sql("""select inline(array(from_json('{"b":82}', 'struct<b:byte>')))""") df.show() ``` ``` +---+ | b| +---+ | 82| +---+ ``` ```kotlin df.writeTo("staging.iceberg_table_3") .using("iceberg") .createOrReplace() ``` using this spark config ``` conf.set("spark.sql.catalog.staging", "org.apache.iceberg.spark.SparkCatalog") .set("spark.sql.catalog.staging.type", "hadoop") .set("spark.sql.catalog.staging.warehouse", "/tmp/random_directory"); -- 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: issues-unsubscr...@iceberg.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: issues-unsubscr...@iceberg.apache.org For additional commands, e-mail: issues-h...@iceberg.apache.org