Google cloud dataflow 在Google Bigtable中使用MultiRowRangeFilter

Google cloud dataflow 在Google Bigtable中使用MultiRowRangeFilter,google-cloud-dataflow,google-cloud-bigtable,Google Cloud Dataflow,Google Cloud Bigtable,我一直在尝试在Google Bigtable中使用MultiRowRangeFilter,但未能使其正常工作。 我基本上是使用数据流扫描和处理Bigtable中的不同范围 List ranges=getRanges(); MultiRowRangeFilter过滤器=新的MultiRowRangeFilter(范围); 扫描=新扫描(); scan.setFilter(filter); config=CloudBigtableScanConfiguration.Builder() .withPr

我一直在尝试在Google Bigtable中使用MultiRowRangeFilter,但未能使其正常工作。 我基本上是使用数据流扫描和处理Bigtable中的不同范围

List ranges=getRanges();
MultiRowRangeFilter过滤器=新的MultiRowRangeFilter(范围);
扫描=新扫描();
scan.setFilter(filter);
config=CloudBigtableScanConfiguration.Builder()
.withProjectId(“我的项目”)
.withInstanceId(“我的实例”)
.withTableId(“我的桌子”)
.扫描(扫描)
.build();
DataflowPipelineOptions=PipelineOptions工厂.as(DataflowPipelineOptions.class);
选项。设置项目(“我的项目”);
选项。设置标记位置(“gs://我的桶”);
options.setRunner(DataflowRunner.class);
Pipeline p=Pipeline.create(选项);
p、 应用(Read.from(CloudBigtableIO.Read(config)))
.apply(ParDo.of(new MyFunction()))
.apply(TextIO.write().to(“gs://输出桶”);
getRanges
是一个函数,它返回一个初始化如下的
列表

RowRange range=new RowRange(“1388710#1823246”,true,“1388710#1823302”,true);
不是扫描并只返回我感兴趣的范围,而是扫描返回表中的所有数据


知道我做错了什么吗?

根据评论中的讨论,MultiRowRangeFilter目前不适用于云数据流,功能请求在GitHub中跟踪如下:


数据流目前无法与MultiRowRangeFilter配合使用。这个bug已经存在一段时间了,但是我们还没有找到它:谢谢你的帮助,我没有看到这个问题。