Google BigQuery Example to converted Nested FIelds in JSON | ||
| ||
| When Kafka is integrated into a system, nested fields are often created to represent complex data structures more effectively, but this is something hard to use when we integrate with Google BigQuery. Below is a basic query example to have some data sets from Google BigQuery The result is displayed in the Google BigQuery Console like below:
In case that you want to convert nested_fields in Json, below example will be helpful to understand:
The bad point for above case is that we can't make query easily, because the keyvalue is stored in the field which is named as “json” for above case.
| ||
| | ||
| |