jkolash commented on issue #10225:
URL: https://github.com/apache/iceberg/issues/10225#issuecomment-2088423502

   Just wanted to make sure you were aware reproducing is pretty simple
   
   ```
   Author: jkolash <jkol...@toasttab.com>
   Date:   Thu Apr 25 19:23:22 2024 -0400
   
       Failing test for issue #10225
       
       https://github.com/apache/iceberg/issues/10225
   
   diff --git 
a/spark/v3.4/spark/src/test/java/org/apache/iceberg/spark/source/TestDataFrameWriterV2.java
 
b/spark/v3.4/spark/src/test/java/org/apache/iceberg/spark/source/TestDataFrameWriterV2.java
   index 76b138ced..9193154ce 100644
   --- 
a/spark/v3.4/spark/src/test/java/org/apache/iceberg/spark/source/TestDataFrameWriterV2.java
   +++ 
b/spark/v3.4/spark/src/test/java/org/apache/iceberg/spark/source/TestDataFrameWriterV2.java
   @@ -177,6 +177,17 @@ public class TestDataFrameWriterV2 extends 
SparkTestBaseWithCatalog {
            sql("select * from %s order by id", tableName));
      }
    
   +  @Test
   +  public void testByte() {
   +    SparkSession sparkSession = spark.cloneSession();
   +    Dataset<Row> dataset =
   +        sparkSession.sql("select inline(array(from_json('{\"b\": 3}', 
'struct<b:byte>')))");
   +
   +    dataset.show();
   +
   +    dataset.writeTo(tableName).createOrReplace();
   +  }
   +
      @Test
      public void testWriteWithCaseSensitiveOption() throws 
NoSuchTableException, ParseException {
        SparkSession sparkSession = spark.cloneSession();
   
   ```


-- 
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

Reply via email to