Skip to content

Commit

Permalink
samples: committed streams should not call batch commit method (#414)
Browse files Browse the repository at this point in the history
  • Loading branch information
alvarowolfx authored Feb 5, 2024
1 parent 0490971 commit 530da70
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions samples/append_rows_json_writer_commited.js
Original file line number Diff line number Diff line change
Expand Up @@ -104,13 +104,6 @@ function main(

const {rowCount} = await connection.finalize();
console.log(`Row count: ${rowCount}`);

const response = await writeClient.batchCommitWriteStream({
parent: destinationTable,
writeStreams: [streamId],
});

console.log(response);
} catch (err) {
console.log(err);
} finally {
Expand Down

0 comments on commit 530da70

Please sign in to comment.