File tree Expand file tree Collapse file tree 1 file changed +7
-6
lines changed
examples/mongodb/demo/config/samples/payloads Expand file tree Collapse file tree 1 file changed +7
-6
lines changed Original file line number Diff line number Diff line change 1
1
{
2
2
"partitions" : 1 ,
3
3
"pipeline" : {
4
- "pipelineBufferSize" : 1024 ,
5
4
"stages" : [
6
5
{
7
6
"database" : {
26
25
"customConfiguration" : {
27
26
"mongodb.hosts" : " <comma-separated list of hostname and port pairs of the MongoDB servers in the replica set>" ,
28
27
"database.include.list" : " sample_airbnb" ,
29
- "collection.include.list" : " sample_airbnb.testSnapshot " ,
28
+ "collection.include.list" : " sample_airbnb.listingsAndReviews " ,
30
29
"mongodb.ssl.enabled" : true ,
31
- "mongodb.members.auto.discover" : true
30
+ "mongodb.members.auto.discover" : true ,
31
+ "partition_records_initial_load_limit" : 0
32
32
}
33
33
},
34
34
"tables" : {
35
- "sample_airbnb.testSnapshot " : {
35
+ "sample_airbnb.listingsAndReviews " : {
36
36
"columns" : [
37
37
{ "targetColumn" : " primary_key" , "sourceColumn" : " _id" , "primaryKey" : true }
38
38
],
39
39
"initialLoad" : {
40
- "partitions" : 4
40
+ "partitions" : 4 ,
41
+ "selectQuery" : " { $match: { '_id' : { $gte : '0' } } }"
41
42
},
42
- "schemaAndTableName" : " sample_airbnb.testSnapshot " ,
43
+ "schemaAndTableName" : " sample_airbnb.listingsAndReviews " ,
43
44
"passThroughEnabled" : true
44
45
}
45
46
}
You can’t perform that action at this time.
0 commit comments