nodejs-bigtable icon indicating copy to clipboard operation
nodejs-bigtable copied to clipboard

Does Nodejs BigTable automatically handles encode/decode data ?

Open Neofield-Dylan opened this issue 8 months ago • 0 comments

Thanks for stopping by to ask us a question! Please make sure to include:

  • What you're trying to do

I wrote a cloud functions to write data into a Cloud BigTable with nodejs library. Although, I BigTable Studio only show my data as binary. Only text columns looks like to be showing normally. Also, when reading data from Python BigTable client it's also having issues to decode the data. I have boolean, float and texts columns values. And I just followed the library tutorial to write data. I know Cloud BigTable only store data as binary strings, but I didn't find anywhere in the lib documentation stating that the users have to handle the encode/decode. And by the examples in the documentation, It leads me to think that it does handles it automatically. Am I understand it wrong ?

Nodejs: 20.11.1 Firebase CLI: 12.2.1 @google-cloud/bigtable: ^5.0.0

  • What code you've already tried

Tutorial write examples.

  • Any error messages you're getting

Cloud BigTable Studio shows my data as binary (mostly number type columns and boolean type columns). Also, Python BigTable client has decode issues (like it having chars that utf-8 can't decode).

PLEASE READ: If you have a support contract with Google, please create an issue in the support console instead of filing on GitHub. This will ensure a timely response.

Neofield-Dylan avatar Jun 13 '24 12:06 Neofield-Dylan