Skip to content

Commit

Permalink
changes after review
Browse files Browse the repository at this point in the history
  • Loading branch information
sfc-gh-jcieslak committed Dec 12, 2023
1 parent 1214c17 commit 0dc539e
Showing 1 changed file with 18 additions and 18 deletions.
36 changes: 18 additions & 18 deletions pkg/sdk/external_tables_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -103,10 +103,10 @@ func TestExternalTablesCreate(t *testing.T) {
Name: "column",
Type: "varchar",
AsExpression: []string{"value::column::varchar"},
NotNull: Bool(true),
InlineConstraint: &ColumnInlineConstraint{
Name: String("my_constraint"),
NotNull: Bool(true),
Type: &ColumnConstraintTypeUnique,
Name: String("my_constraint"),
Type: ColumnConstraintTypeUnique,
},
},
},
Expand All @@ -124,10 +124,10 @@ func TestExternalTablesCreate(t *testing.T) {
Name: "column",
Type: "varchar",
AsExpression: []string{"value::column::varchar"},
NotNull: Bool(true),
InlineConstraint: &ColumnInlineConstraint{
Name: String("my_constraint"),
NotNull: Bool(true),
Type: &ColumnConstraintTypeUnique,
Name: String("my_constraint"),
Type: ColumnConstraintTypeUnique,
},
},
},
Expand Down Expand Up @@ -206,10 +206,10 @@ func TestExternalTablesCreateWithManualPartitioning(t *testing.T) {
Name: "column",
Type: "varchar",
AsExpression: []string{"value::column::varchar"},
NotNull: Bool(true),
InlineConstraint: &ColumnInlineConstraint{
Name: String("my_constraint"),
NotNull: Bool(true),
Type: &ColumnConstraintTypeUnique,
Name: String("my_constraint"),
Type: ColumnConstraintTypeUnique,
},
},
},
Expand All @@ -227,10 +227,10 @@ func TestExternalTablesCreateWithManualPartitioning(t *testing.T) {
Name: "column",
Type: "varchar",
AsExpression: []string{"value::column::varchar"},
NotNull: Bool(true),
InlineConstraint: &ColumnInlineConstraint{
Name: String("my_constraint"),
NotNull: Bool(true),
Type: &ColumnConstraintTypeUnique,
Name: String("my_constraint"),
Type: ColumnConstraintTypeUnique,
},
},
},
Expand Down Expand Up @@ -307,10 +307,10 @@ func TestExternalTablesCreateDeltaLake(t *testing.T) {
Name: "column",
Type: "varchar",
AsExpression: []string{"value::column::varchar"},
NotNull: Bool(true),
InlineConstraint: &ColumnInlineConstraint{
Name: String("my_constraint"),
NotNull: Bool(true),
Type: &ColumnConstraintTypeUnique,
Name: String("my_constraint"),
Type: ColumnConstraintTypeUnique,
},
},
},
Expand All @@ -328,10 +328,10 @@ func TestExternalTablesCreateDeltaLake(t *testing.T) {
Name: "column",
Type: "varchar",
AsExpression: []string{"value::column::varchar"},
NotNull: Bool(true),
InlineConstraint: &ColumnInlineConstraint{
Name: String("my_constraint"),
NotNull: Bool(true),
Type: &ColumnConstraintTypeUnique,
Name: String("my_constraint"),
Type: ColumnConstraintTypeUnique,
},
},
},
Expand Down

0 comments on commit 0dc539e

Please sign in to comment.