Commit 76bb401
authored
fix: fix compatibility of CloudBigtableIO with the emulator env var (#3940)
There are 2 issues that prevented CloudBigtableIO from working with the emulator: 1. useBulk macro setting would override the endpoint to batch-bigtable.googleapis.com regardless if the BIGTABLE_EMULATOR_ENV was set 2. the emulator doesnt return sample row key sizes when when the data is tiny, so split calculations broke1 parent 548aa8f commit 76bb401
File tree
2 files changed
+6
-2
lines changed- bigtable-client-core-parent/bigtable-hbase/src/main/java/com/google/cloud/bigtable/hbase/wrappers/veneer
- bigtable-dataflow-parent/bigtable-hbase-beam/src/main/java/com/google/cloud/bigtable/beam
2 files changed
+6
-2
lines changedLines changed: 3 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
429 | 429 | | |
430 | 430 | | |
431 | 431 | | |
| 432 | + | |
| 433 | + | |
| 434 | + | |
432 | 435 | | |
433 | 436 | | |
434 | 437 | | |
| |||
Lines changed: 3 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
335 | 335 | | |
336 | 336 | | |
337 | 337 | | |
338 | | - | |
| 338 | + | |
339 | 339 | | |
340 | 340 | | |
341 | 341 | | |
| |||
477 | 477 | | |
478 | 478 | | |
479 | 479 | | |
480 | | - | |
| 480 | + | |
| 481 | + | |
481 | 482 | | |
482 | 483 | | |
483 | 484 | | |
| |||
0 commit comments