Skip to content

Commit 6e74d96

Browse files
test: remove stale code
1 parent 54543af commit 6e74d96

File tree

1 file changed

+0
-31
lines changed

1 file changed

+0
-31
lines changed

src/test/java/com/manticore/jdbc/parquetwriter/JDBCParquetWriterTest.java

Lines changed: 0 additions & 31 deletions
Original file line numberDiff line numberDiff line change
@@ -90,33 +90,6 @@ void write() throws Exception {
9090
Assertions.assertEquals(6, writtenRows);
9191
}
9292

93-
@Test
94-
void testVBoxQuery() throws Exception {
95-
Properties properties = new Properties();
96-
properties.put("user", "SA");
97-
properties.put("password", "");
98-
99-
Connection conn = DriverManager.getConnection(
100-
"jdbc:h2:tcp://localhost//home/are/.manticore/ifrsbox;IFEXISTS=FALSE;COMPRESS=TRUE;PAGE_SIZE=128;DB_CLOSE_DELAY=30;AUTO_RECONNECT=TRUE;CACHE_SIZE=8192;MODE=Oracle;LOCK_TIMEOUT=10000;RETENTION_TIME=0",
101-
properties);
102-
103-
String tableName = "test";
104-
File file = File.createTempFile(tableName, ".parquet");
105-
long writtenRows = 0;
106-
107-
String sqlStr = "SELECT a.ead\n"
108-
+ " , a.ecl\n"
109-
+ "FROM cfe.ext_ecl_details a\n"
110-
+ "FETCH FIRST ROWS ONLY\n"
111-
+ ";\n";
112-
try (Statement st = conn.createStatement(); ResultSet rs = st.executeQuery(sqlStr);) {
113-
writtenRows = JDBCParquetWriter.write(file, tableName, rs);
114-
} finally {
115-
conn.close();
116-
}
117-
118-
}
119-
12093
@Test
12194
void testBigDecimal() throws Exception {
12295
String tableName = "test";
@@ -165,8 +138,4 @@ void testBigDecimal() throws Exception {
165138
}
166139

167140
}
168-
169-
@Test
170-
@Disabled
171-
void getParquetSchemaFromResultSet() {}
172141
}

0 commit comments

Comments
 (0)