-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: support simple "_row_key IN (xxx, yyy)" query
- Loading branch information
Showing
6 changed files
with
106 additions
and
28 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
bigtable: | ||
docker run --rm --name bigtable -d -p 8086:8086 -v $(CURDIR)/script:/opt/script gcr.io/google.com/cloudsdktool/cloud-sdk gcloud beta emulators bigtable start --host-port=0.0.0.0:8086 | ||
|
||
seed: | ||
docker exec -e BIGTABLE_EMULATOR_HOST="localhost:8086" bigtable /opt/script/seed.sh | ||
|
||
build: | ||
cargo build | ||
|
||
test: | ||
BIGTABLE_EMULATOR_HOST="localhost:8086" cargo test -- --nocapture | ||
|
||
fmt: | ||
cargo fmt |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
#!/bin/bash | ||
|
||
cbt -instance dev -project emulator createtable weather_balloons | ||
cbt -instance dev -project emulator createfamily weather_balloons measurements | ||
cbt -instance dev -project emulator set weather_balloons us-west2#3698#2021-03-05-1200 measurements:pressure=94558@1614945605100000 | ||
cbt -instance dev -project emulator set weather_balloons us-west2#3698#2021-03-05-1201 measurements:pressure=94122@1614945665200000 | ||
cbt -instance dev -project emulator set weather_balloons us-west2#3698#2021-03-05-1202 measurements:pressure=95992@1614945725300000 | ||
cbt -instance dev -project emulator set weather_balloons us-west2#3698#2021-03-05-1203 measurements:pressure=96025@1614945785400000 | ||
cbt -instance dev -project emulator set weather_balloons us-west2#3698#2021-03-05-1204 measurements:pressure=96021@1614945845500000 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters