Skip to content
Closed
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
[SPARK-10521] Update valid DB2 data types in test
  • Loading branch information
lresende committed Apr 9, 2016
commit 97957529acb5ed7c3fd104ef9a622026e5069f4f
Original file line number Diff line number Diff line change
Expand Up @@ -54,11 +54,10 @@ class Db2IntegrationSuite extends DockerJDBCIntegrationSuite {
+ "'1996-01-01 01:23:45', '2009-02-13 23:31:30', '2001')").executeUpdate()

// TODO: Test locale conversion for strings.
conn.prepareStatement("CREATE TABLE strings (a CHAR(10), b VARCHAR(10), c TINYTEXT, "
+ "d TEXT, e MEDIUMTEXT, f LONGTEXT, g BINARY(4), h VARBINARY(10), i BLOB)"
).executeUpdate()
conn.prepareStatement("INSERT INTO strings VALUES ('the', 'quick', 'brown', 'fox', " +
"'jumps', 'over', 'the', 'lazy', 'dog')").executeUpdate()
conn.prepareStatement("CREATE TABLE strings (a CHAR(10), b VARCHAR(10), c CLOB, d BLOB, "
+ "e CHAR FOR BIT DATA)").executeUpdate()
conn.prepareStatement("INSERT INTO strings VALUES ('the', 'quick', 'brown', 'fox', 'jumps'")
.executeUpdate()
}

test("Basic test") {
Expand Down