我正在尝试将ndjson文件导入Navicat或Bigquery。
似乎没有选择允许"字符串数组"
有没有办法实现这个目标?或者是否有其他工具可以实现此目的。JSON Value
UUID string
databaseID integer
title string
alternativeTitle array of strings
contributor array of objects
contributor.contributorName string
contributor.contributorType string
contributorRole array of strings
contributor.contributorURI string
date array of strings
dateStart string
dateEnd string
language array of strings
description string
note array of objects
note.type string
note.text string
subjectTopical array of objects
subjectTopical.text string
subjectTopical.URI string
subjectName array of objects
subjectName.text string
subjectName.URI string
subjectGeographic array of objects
subjectGeographic.text string
subjectGeographic.URI string
subjectTemporal array of objects
subjectTemporal.text string
subjectTemporal.URI string
subjectTitle array of objects
subjectTitle.text string
subjectTitle.URI string
resourceType array of strings
genre array of objects
genre.text string
genre.URI string
identifierBNumber string
identifierAccessionNumber string
identifierCallNumber string
identifierISBN string
identifierISSN string
identifierInterviewID string
identifierPostcardID string
identifierLCCN string
identifierOCLCRLIN string
physicalDescriptionExtent array of strings
physicalDescriptionForm array of strings
publisher array of strings
placeOfPublication array of strings
collectionUUID string
containerUUID string
collectionTitle string
containerTitle string
parentHierarchy string
numberOfCaptures integer
- string
captures array of strings
digtalCollectionsURL string
答案 0 :(得分:1)
BigQuery支持嵌套/重复字段,因此您可以使用REPEATED模式的STRING类型字段
在https://cloud.google.com/bigquery/preparing-data-for-bigquery中查看更多内容,特别是在https://cloud.google.com/bigquery/docs/reference/v2/jobs#configuration.load
中查看configuration.load.schema.fields[].mode