iotdb icon indicating copy to clipboard operation
iotdb copied to clipboard

[Bug] pipe data sync bug

Open xiaochangg opened this issue 8 months ago • 4 comments

Search before asking

  • [x] I searched in the issues and found nothing similar.

Version

table model , the column filed is attribute , the data not sync

Describe the bug and provide the minimal reproduce step

this is my pipe cmd: create pipe A2B WITH SOURCE ('source'= 'iotdb-source','mode.streaming' = 'true','database-name'='testdb2.*','history.enable' = 'false') with SINK ('sink'='iotdb-thrift-async-sink','node-urls' = '127.0.0.1:6668') my table is: create database testdb2; CREATE TABLE gwy6l(time TIMESTAMP TIME,measurementname STRING TAG,type STRING ATTRIBUTE,value STRING FIELD,status INT64 FIELD,source_time INT64 FIELD,server_time INT64 FIELD);

the type field is ATTRIBUTE,

Two IoTDB instances, one with port 6667 and the other with port 6668。

my data is: 6667 instance Image 6668 data already sync ,but the type filed no data

Image

What did you expect to see?

the type is attribute filed can sync data.

What did you see instead?

this is my see:

Image

Anything else?

No response

Are you willing to submit a PR?

  • [ ] I'm willing to submit a PR!

xiaochangg avatar Mar 24 '26 07:03 xiaochangg

Version table model , the column filed is attribute , the data not sync. the Version is iotdb 2.0.5 use table model

xiaochangg avatar Mar 24 '26 07:03 xiaochangg

@Caideyipi Can you please take a look?

HTHou avatar Mar 25 '26 01:03 HTHou

This is resolved in source's "inclusion" parameter. If you add inclusion like 'inclusion'='data.insert, schema.table.alter' you may be able to sync this

Caideyipi avatar Mar 25 '26 03:03 Caideyipi

yes , i have try it ,it is ok.

xiaochangg avatar Mar 25 '26 03:03 xiaochangg