We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0556221 commit 5692947Copy full SHA for 5692947
core/dbio/iop/datatype_test.go
@@ -512,14 +512,14 @@ func TestColumnTypingBoolean(t *testing.T) {
512
col := Column{Name: "test", Type: BoolType}
513
bct := BooleanColumnTyping{CastAs: "integer"}
514
bct.Apply(&col)
515
- assert.Equal(t, IntegerType, col.Type)
+ assert.Equal(t, SmallIntType, col.Type)
516
})
517
518
t.Run("boolean_cast_as_integer_uppercase", func(t *testing.T) {
519
520
bct := BooleanColumnTyping{CastAs: "INTEGER"}
521
522
523
524
525
t.Run("boolean_cast_as_string", func(t *testing.T) {
0 commit comments