Skip to content

Commit

Permalink
[AB#1669514] arrow test
Browse files Browse the repository at this point in the history
  • Loading branch information
ChronosMasterOfAllTime committed Nov 21, 2024
1 parent 1516dd4 commit ca44e68
Showing 1 changed file with 8 additions and 3 deletions.
11 changes: 8 additions & 3 deletions driver_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -927,18 +927,23 @@ func (uuid testUUID) Value() (driver.Value, error) {

func TestUUID(t *testing.T) {
t.Run("Basic Type", func(t *testing.T) {
testUuid(t, false)
testUuid(t, false, false)
})

t.Run("JSON", func(t *testing.T) {
testUuid(t, true)
testUuid(t, true, false)
})
t.Run("Arrow", func(t *testing.T) {
testUuid(t, false, true)
})
}

func testUuid(t *testing.T, json bool) {
func testUuid(t *testing.T, json, arrow bool) {
runDBTest(t, func(dbt *DBTest) {
if json {
dbt.mustExec(forceJSON)
} else if arrow {
dbt.mustExec(forceARROW)
}

types := []string{"CHAR(255)", "VARCHAR(255)", "TEXT", "STRING"}
Expand Down

0 comments on commit ca44e68

Please sign in to comment.