Database Reference
In-Depth Information
},
{
"name": "corpus_date",
"type": "INTEGER"
}
]
},
…
To create an encrypted version, run an
ebq
load job with some special
schema options. Edit
table.txt
so that it just has the schema fields, and
for each column, indicates what type of encryption you want to do. Save the
resulting file as
encrypted_schema.txt
(this file is also distributed with
the downloads for this chapter, which can save you some typing.).
$
cat encrypted_schema.txt
[
{
"name": "word",
"type": "STRING",
"encrypt": "probabilistic"
},
{
"name": "word_count",
"type": "integer",
"encrypt": "homomorphic"
},
{
"name": "corpus",
"type": "STRING",
"encrypt": "pseudonym"
},
{
"name": "corpus_date",
"type": "integer",
"encrypt": "none"
}
]