pred2bq: Update schema parsing from prediction results.#225
pred2bq: Update schema parsing from prediction results.#225cfezequiel wants to merge 1 commit intotensorflow:mainfrom
Conversation
|
Thanks for the PR! 🚀 Instructions: Approve using |
|
Hi @hanneshapke, I was wondering if you'll be able to review this PR. Sorry for the long-ish change, but it's a bit of a challenge now to break it up into smaller chunks due to time constraints, and subsequent changes also build on top of this PR. With that said, an alternative would be for me to submit one large PR containing all the subsequent changes for the component. Let me know what you think. |
|
This can be deprecated in favor of #230 , which also contains the changes here. |
|
Closing it by request from @michaelwsherman |
Related to #78
Update code to enable schema parsing from BulkInferrer prediction results data directly.
This adds a third option to the existing ways to parse the input data schema, which include:
Additional changes:
Revert input of BigQuery table name to use fully qualified name, i.e. 'project:dataset.table_name', instead of specifying GCP project and BigQuery dataset separately.
Label ID to name mapping is optional - depends on presence of relevant vocabulary file in Transform output
Typehint and variable name changes
[ X ] Tests pass