You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This code:
let $result :=
{
"gtinList":
for $doc in json-file("LinesFile.json")
for $row in $doc
for $i in $row.items[]
return
{
"gtin" : $i.item.gtin
}
}
return $result
Gives this message:
Code: [RBDY0005]
Message: Cannot materialize a sequence of 2000 items because the limit is set to 1000. This value can be configured with the --materialization-cap parameter at startup
We can always increase the size of the materialization-cap value, but this might get prohibitively large at some point. This is a fil with the lines format (json per line), and each line can have up to 1000 nested values in it. With only 2 lines we hit 2000 here.
In the documentation there is this explanation for the error code.
[RBDY0005] - Materialization Error: the sequence is too big to be materialized. Use --materialization-cap to increase the maximum materialization size, or add an output path to write to.
Is there some way to specify an output path here so we can not have to worry about this materialization-cap?
The text was updated successfully, but these errors were encountered:
This code:
let $result :=
{
"gtinList":
for $doc in json-file("LinesFile.json")
for $row in $doc
for $i in $row.items[]
return
{
"gtin" : $i.item.gtin
}
}
return $result
Gives this message:
Code: [RBDY0005]
Message: Cannot materialize a sequence of 2000 items because the limit is set to 1000. This value can be configured with the --materialization-cap parameter at startup
We can always increase the size of the materialization-cap value, but this might get prohibitively large at some point. This is a fil with the lines format (json per line), and each line can have up to 1000 nested values in it. With only 2 lines we hit 2000 here.
In the documentation there is this explanation for the error code.
[RBDY0005] - Materialization Error: the sequence is too big to be materialized. Use --materialization-cap to increase the maximum materialization size, or add an output path to write to.
Is there some way to specify an output path here so we can not have to worry about this materialization-cap?
The text was updated successfully, but these errors were encountered: