Comments (3)
It looks like there is code to go from the json model to proto https://github.com/apache/beam/blob/2c59a748b91a0988e0b8e332f18bd9db072c3e95/sdks/java/io/google-cloud-platform/src/main/java/org/apache/beam/sdk/io/gcp/bigquery/TableRowToStorageApiProto.java#L768
I don't know if the reverse exists. The mapping of type definitions is not public so there isn't something that can be easily imported.
from java-bigquery.
@Neenu1995 Transferring this issue to BigQuery since it's BigQuery specific.
from java-bigquery.
Hi @damnMeddlingKid ,
Sorry for the late reply:
- There are no helper methods to convert between the 2 format from java-bigquery and java-bigquerystorage. The one that you have found is from apache beam. We'll look into unifying the interface differences in java-bigquery and java-bigquerystorage in the future.
- The models may not be in complete sync with each other as the 2 libraries can follow different release schedule. However, in general, they will be relatively in sync as they are both generated source.
As this question is a year old, I'm closing this issue. Feel free to open another issue if you have further questions.
from java-bigquery.
Related Issues (20)
- Add support for inserting Range values
- bigquery.it.ITBigQueryTest: testFastDMLQuery failed HOT 1
- Add totalSlotMs to JobStatistics
- Add JPMS support to google-cloud-bigquery (and other Google Cloud libraries) HOT 1
- bigquery.it.ITBigQueryTest: testTableResultJobIdAndQueryId failed HOT 2
- How to get a BigQuery object authenticating with OAuth credentials? HOT 4
- Make build time only dependencies optional
- BigQuery API: How to get database metadata via API ? HOT 2
- The build failed HOT 2
- bigquery.it.ITBigQueryTest: testListPartitions failed HOT 1
- bigquery.it.ITBigQueryTest: testModelLifecycle failed HOT 1
- ProtoBuf upgrade 4.x
- bigquery.it.ITBigQueryTest: testQuerySessionSupport failed HOT 2
- bigquery.it.ITBigQueryTest: testQueryJob failed HOT 1
- bigquery.it.ITBigQueryTest: testQueryJobWithDryRun failed HOT 1
- bigquery.it.ITBigQueryTest: testQueryJobWithLabels failed HOT 1
- bigquery.it.ITBigQueryTest: testCopyJobStatistics failed HOT 1
- bigquery.it.ITBigQueryTest: testExtractJobWithModel failed HOT 1
- bigquery.it.ITBigQueryTest: testExecuteSelectSinglePageTableRowColInd failed HOT 1
- BigQuery: Multiple queries with a single Connection
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from java-bigquery.