ebyhr commented on code in PR #11874: URL: https://github.com/apache/iceberg/pull/11874#discussion_r1897321567
########## spark/v3.5/spark/src/test/java/org/apache/iceberg/spark/TestSparkCatalogOperations.java: ########## @@ -107,8 +107,8 @@ public void testAlterTable() throws NoSuchTableException { assertThat(table).as("Should return updated table").isNotNull(); - StructField expectedField = DataTypes.createStructField(fieldName, DataTypes.StringType, true); - assertThat(table.schema().fields()[2]) + Column expectedField = Column.create(fieldName, DataTypes.StringType, true); + assertThat(table.columns()[2]) Review Comment: https://github.com/apache/spark/blob/ef4be07fdad9c8078e22d4f3f068fee1b81cf967/sql/catalyst/src/main/java/org/apache/spark/sql/connector/catalog/Table.java#L51-L58 ########## spark/v3.5/spark/src/test/java/org/apache/iceberg/spark/TestSparkCatalogOperations.java: ########## @@ -107,8 +107,8 @@ public void testAlterTable() throws NoSuchTableException { assertThat(table).as("Should return updated table").isNotNull(); - StructField expectedField = DataTypes.createStructField(fieldName, DataTypes.StringType, true); - assertThat(table.schema().fields()[2]) Review Comment: https://github.com/apache/spark/blob/ef4be07fdad9c8078e22d4f3f068fee1b81cf967/sql/catalyst/src/main/java/org/apache/spark/sql/connector/catalog/Table.java#L51-L58 -- 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