Column size of Google Big Query -
i populating data server google big query. 1 of attributes in table string has close 150+ characters in it.
for example, "had reseller test devices in vehicle known working device set power cycle, never got green light checked cell provider , sims active cases modem appears dead,light in not green light".
table in gbq gets populated until hits specific attribute. when attribute load, not loaded in single cell. gets splitted different cells , corroupts table.
is there restriction on each field of gbq? information regarding appreciated.
my guess quote , comma characters in csv data confusing csv parser. example, if 1 of fields hello, world
, 2 separate fields. way around quote field, you'd need "hello, world"
. this, of course, has problems if have embedded quotes in field. instance if wanted have field said she said, "hello, world"
, either need escape quotes doubling internal quotes, in "she said, ""hello, world"""
, or using different field separator (for instance, |
) , dropping quote separator (using \0
).
one final complication if have embedded newlines in field. if have hello\nworld
, means need set allow_quoted_newlines on load job configuration. downside large files slower import option, since can't done in parallel.
these configuration options described here, , can used via either web ui or bq command line shell.
Comments
Post a Comment