diff --git a/docs/Examples.md b/docs/Examples.md
index 911f777..dc149a9 100644
--- a/docs/Examples.md
+++ b/docs/Examples.md
@@ -55,10 +55,10 @@ Create table with all options specified:
```sql
CREATE TABLE region(
- regionkey bigint WITH (dimension=true, lower_bound=0L, upper_bound=3000L, extent=50L)
+ regionkey bigint WITH (dimension=true, lower_bound=0, upper_bound=3000, extent=50),
name varchar,
comment varchar
- ) WITH (uri = 's3://bucket/region', type = 'SPARSE', cell_order = 'COL_MAJOR', tile_order = 'ROW_MAJOR', capacity = 10L)
+ ) WITH (uri = 's3://bucket/region', type = 'SPARSE', cell_order = 'COL_MAJOR', tile_order = 'ROW_MAJOR', capacity = 10)
```
## Inserting Data
diff --git a/pom.xml b/pom.xml
index 58c967a..32c164d 100644
--- a/pom.xml
+++ b/pom.xml
@@ -100,7 +100,7 @@
io.tiledb
tiledb-java
- 0.9.0
+ 0.12.0
diff --git a/src/test/java/com/facebook/presto/plugin/tiledb/TestTileDBQueries.java b/src/test/java/com/facebook/presto/plugin/tiledb/TestTileDBQueries.java
index f223f19..482ea7a 100644
--- a/src/test/java/com/facebook/presto/plugin/tiledb/TestTileDBQueries.java
+++ b/src/test/java/com/facebook/presto/plugin/tiledb/TestTileDBQueries.java
@@ -773,11 +773,11 @@ public void testTimeTraveling() throws Exception
getQueryRunner().execute(insertSql);
// Retrieve all fragments and sort them in ascending order
- String[] dirs = new File(arrayName).list(new FilenameFilter() {
+ String[] dirs = new File(arrayName + "/__fragments").list(new FilenameFilter() {
@Override
public boolean accept(File dir, String name)
{
- return new File(dir, name).isDirectory() && !name.equals("__meta");
+ return new File(dir, name).isDirectory();
}
});
Arrays.sort(dirs);
@@ -873,11 +873,11 @@ public void testTimeTravelingEncrypted() throws Exception
}
// Retrieve all fragments and sort them in ascending order
- String[] dirs = new File(arrayName).list(new FilenameFilter() {
+ String[] dirs = new File(arrayName + "/__fragments").list(new FilenameFilter() {
@Override
public boolean accept(File dir, String name)
{
- return new File(dir, name).isDirectory() && !name.equals("__meta");
+ return new File(dir, name).isDirectory();
}
});
Arrays.sort(dirs);