Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Import data in ProtocolBuffer format

Is it possible to import data in BigQuery in a ProtocolBuffer format? I have a (very) large set of data already in this format, and I would like now to push them into BigQuery. But if I can avoid the translation to json or so, I would be delighted. Plus this would definitely save me some bandwidth...

Thank you.

like image 725
Olivier Avatar asked Nov 26 '12 17:11

Olivier


People also ask

What is protocol buffer format?

Protocol buffers are a combination of the definition language (created in . proto files), the code that the proto compiler generates to interface with data, language-specific runtime libraries, and the serialization format for data that is written to a file (or sent across a network connection).

What is protocol buffer API?

To simplify developer experience and improve runtime efficiency, gRPC APIs should use Protocol Buffers version 3 (proto3) for API definition. Protocol Buffers is a simple language-neutral and platform-neutral Interface Definition Language (IDL) for defining data structure schemas and programming interfaces.

What is gRPC protocol buffer?

Protocol buffers, or Protobuf, is Google's serialization/deserialization protocol that enables the easy definition of services and auto-generation of client libraries. gRPC uses this protocol as their Interface Definition Language (IDL) and serialization toolset.

Is protocol a buffer binary?

A protocol buffer message is a series of key-value pairs. The binary version of a message just uses the field's number as the key -- the name and declared type for each field can only be determined on the decoding end by referencing the message type's definition (that is, the . proto file).


1 Answers

Sorry, not currently possible. We support CSV and JSON for import.

Please comment on my answer about the use case or reach out via google+ or twitter so we can consider this as a feature request.

like image 145
Ryan Boyd Avatar answered Oct 04 '22 01:10

Ryan Boyd