Skip to content

Commit

Permalink
fix not null
Browse files Browse the repository at this point in the history
  • Loading branch information
FANNG1 committed May 24, 2024
1 parent dbdf818 commit 8b2396f
Showing 1 changed file with 1 addition and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,6 @@
import org.apache.spark.sql.types.DataTypes;
import org.apache.spark.sql.types.StructField;
import org.junit.jupiter.api.Assertions;
import org.junit.jupiter.api.Disabled;
import org.junit.jupiter.api.Test;
import org.junit.jupiter.params.ParameterizedTest;
import org.junit.jupiter.params.provider.MethodSource;
Expand Down Expand Up @@ -325,14 +324,13 @@ void testIcebergTimeTravelQuery() throws NoSuchTableException {
Assertions.assertEquals("1,1,1", tableData.get(0));
}

@Disabled
@Test
void testIcebergReservedProperties() throws NoSuchTableException {
String tableName = "test_reserved_properties";
dropTableIfExists(tableName);
sql(
String.format(
"CREATE TABLE %s (id INT COMMENT 'id comment', name STRING COMMENT '', age INT)",
"CREATE TABLE %s (id INT NOT NULL COMMENT 'id comment', name STRING COMMENT '', age INT)",
tableName));

SparkIcebergTable sparkIcebergTable = getSparkIcebergTableInstance(tableName);
Expand Down

0 comments on commit 8b2396f

Please sign in to comment.