nodejs-bigtable | Nodejs client for Google Cloud Bigtable: Google's NoSQL Big Data database service | Cloud Storage library
kandi X-RAY | nodejs-bigtable Summary
kandi X-RAY | nodejs-bigtable Summary
Cloud Bigtable Client Library for Node.js. A comprehensive list of changes in each version may be found in the CHANGELOG. Read more about the client libraries for Cloud APIs, including the older Google APIs Client Libraries, in Client Libraries Explained.
Support
Quality
Security
License
Reuse
Top functions reviewed by kandi - BETA
Currently covering the most popular Java, JavaScript and Python libraries. See a Sample of nodejs-bigtable
nodejs-bigtable Key Features
nodejs-bigtable Examples and Code Snippets
Community Discussions
Trending Discussions on nodejs-bigtable
QUESTION
I'm using the NodeJs library for bigtable.
I have two columns. ColumnA and ColumnB.
In a single call/transaction I want to move the data from ColumnA to ColumnB, and at the same time delete the data in the ColumnA.
I can do that in 3 steps:
1.. Get ColumnA from bigtable
2.. Update ColumnB
3.. Delete ColumnA
But I was wondering if it's possible to do all these steps in a single call (and ideally single transaction)?
Thanks
...ANSWER
Answered 2019-Oct-31 at 23:18You can turn these three API calls into two with a batch mutation, but there is no way to get the value while performing the mutation.
Follow this example to update and delete in the same bulk mutation, but note that the operations are non-atomic
QUESTION
I want to process data from BigTable table in a stream, but end stream early. I am using this code for Node.js (slightly modified https://github.com/googleapis/nodejs-bigtable/blob/master/samples/document-snippets/table.js#L215):
...ANSWER
Answered 2019-Sep-20 at 20:09This looks like it might be a bug in the client library. I re-posted your question as a github issue: https://github.com/googleapis/nodejs-bigtable/issues/506
Update: this has since been fixed, https://github.com/googleapis/nodejs-bigtable/pull/507. Client version https://github.com/googleapis/nodejs-bigtable/tree/release-v2.0.4 and later contain the fix.
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install nodejs-bigtable
Support
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page