SrikanthNidamanuri opened a new issue, #25606:
URL: https://github.com/apache/beam/issues/25606

   ### What happened?
   
   Hello,
   
   I have a scenario to build a data pipeline that ingests source data which is 
in the ndjson file (from GCS) to BigQuery.
   Here, I want to define a field type as JSON while defining BigQuery Schema.
   
   Ex:  ParsedJson.apply("Write to BigQuery",
                   BigQueryIO.writeTableRows().to("BQDestination")
   
   new TableFieldSchema(). SetName ("_source"). SetType ("JSON"). SetMode 
("NULLABLE").
   
   After the successful job run, Subfields inside this particular JSON field 
are losing their accuracy. How can I resolve this issue?
   
   As my source data is dynamic in nature, I don't want to explicitly mention 
subfields schema while defining BigQuery Schema. And I want to write as JSON 
datatype only(not as string or RECORD etc) without loosing accuracy.
   
   
   
   ### Issue Priority
   
   Priority: 3 (minor)
   
   ### Issue Components
   
   - [ ] Component: Python SDK
   - [X] Component: Java SDK
   - [ ] Component: Go SDK
   - [ ] Component: Typescript SDK
   - [X] Component: IO connector
   - [ ] Component: Beam examples
   - [ ] Component: Beam playground
   - [ ] Component: Beam katas
   - [ ] Component: Website
   - [ ] Component: Spark Runner
   - [ ] Component: Flink Runner
   - [ ] Component: Samza Runner
   - [ ] Component: Twister2 Runner
   - [ ] Component: Hazelcast Jet Runner
   - [ ] Component: Google Cloud Dataflow Runner


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to