Skip to content
This repository has been archived by the owner on Dec 6, 2022. It is now read-only.

Fix build and improve README #7

Merged
merged 1 commit into from
Aug 19, 2021
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
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1 +1,3 @@
bazel-*
Vehicle__Snowmobile__and_Boat_Registrations.csv
.idea/
4 changes: 4 additions & 0 deletions BUILD.bazel
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,10 @@ cc_library(
hdrs = [
"data.h",
],
data = [
# Put your csv files here, e.g.
# "Vehicle__Snowmobile__and_Boat_Registrations.csv"
],
deps = [
":evaluation_utils",
"//common:byte_coding",
Expand Down
13 changes: 13 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,19 @@ Cuckoo Index addresses both of these drawbacks of per-partition filters.

Prepare a dataset in a CSV format that you are going to use. One of the datasets we used was DMV [Vehicle, Snowmobile, and Boat Registrations](https://catalog.data.gov/dataset/vehicle-snowmobile-and-boat-registrations).

```
wget -c https://data.ny.gov/api/views/w4pv-hbkt/rows.csv -O Vehicle__Snowmobile__and_Boat_Registrations.csv
```

Add the file to the `data` dependencies in the `BUILD.bazel` file.

```
data = [
# Put your csv files here
"Vehicle__Snowmobile__and_Boat_Registrations.csv"
],
```

For footprint experiments, run the following command, specifying the path to the data file, columns to test, and the tests to run.

```
Expand Down
6 changes: 3 additions & 3 deletions WORKSPACE
Original file line number Diff line number Diff line change
Expand Up @@ -66,9 +66,9 @@ boost_deps()
# Protocol buffers.
http_archive(
name = "com_google_protobuf",
sha256 = "c5fd8f99f0d30c6f9f050bf008e021ccc70d7645ac1f64679c6038e07583b2f3",
strip_prefix = "protobuf-d0bfd5221182da1a7cc280f3337b5e41a89539cf",
urls = ["https://github.com/protocolbuffers/protobuf/archive/d0bfd5221182da1a7cc280f3337b5e41a89539cf.zip"],
sha256 = "65e020a42bdab44a66664d34421995829e9e79c60e5adaa08282fd14ca552f57",
strip_prefix = "protobuf-3.15.6",
urls = ["https://github.com/protocolbuffers/protobuf/archive/v3.15.6.tar.gz"],
)

load("@com_google_protobuf//:protobuf_deps.bzl", "protobuf_deps")
Expand Down