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
Hi, I am using BigTable createReadStream and it seems to be hanging on errors from BigTable.
I am using through2.obj as recommended in #1715:
Perhaps I'm using the API incorrectly? I couldn't find any examples of this in the documentation.
eventsTable
.createReadStream({
decode: true,
start: rowKey,
end: `${appID}|${recordingID}||`,
filter: [{
family: 'metadata',
column: {
cellLimit: 1,
},
}],
})
.pipe(through2.obj(async (row, _, next) => {
await doWork();
}))
.on('data', () => {
// For some reason we need to have a data block in order for 'end' to be called.
})
.on('error', reject)
.on('end', async () => {
resolve();
});
The text was updated successfully, but these errors were encountered:
Hi, I am using BigTable createReadStream and it seems to be hanging on errors from BigTable.
I am using
through2.obj
as recommended in #1715:Perhaps I'm using the API incorrectly? I couldn't find any examples of this in the documentation.
The text was updated successfully, but these errors were encountered: