Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update tests to reflect _meta in file upload src #75

Merged
merged 1 commit into from
Feb 14, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
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
4 changes: 2 additions & 2 deletions src/test/java/com/rockset/jdbc/TestSchema.java
Original file line number Diff line number Diff line change
Expand Up @@ -204,8 +204,8 @@ public void testGetColumns() throws Exception {
waitNumberDocs(collectionName, 1);

// there should be 5 columns in this test file
// a, name, nested, _id, _event_time
final int numColumns = 5;
// a, name, nested, _id, _event_time, _meta
final int numColumns = 6;

conn = DriverManager.getConnection(DB_URL, property);

Expand Down
5 changes: 3 additions & 2 deletions src/test/java/com/rockset/jdbc/TestTable.java
Original file line number Diff line number Diff line change
Expand Up @@ -205,8 +205,8 @@ public void testGetColumns() throws Exception {
waitNumberDocs(collectionName, 1);

// there should be 5 columns in this test file
// a, name, nested, _id, _event_time
final int numColumns = 5;
// a, name, nested, _id, _event_time, _meta
final int numColumns = 6;

conn = DriverManager.getConnection(DB_URL, property);

Expand Down Expand Up @@ -336,6 +336,7 @@ public void testGetColumnsAllTypes() throws Exception {

assertNextEquals(rs, "_event_time", Types.TIMESTAMP);
assertNextEquals(rs, "_id", Types.VARCHAR);
assertNextEquals(rs, "_meta", Types.JAVA_OBJECT);
assertNextEquals(rs, "array_col", Types.ARRAY);
assertNextEquals(rs, "bool_col", Types.BOOLEAN);
assertNextEquals(rs, "date_col", Types.DATE);
Expand Down
Loading