id stringlengths 16 145 | text stringlengths 1 179k | title stringclasses 1
value |
|---|---|---|
django_CharField/607740_108_0.txt | * Mark as New
* Bookmark
* Subscribe
* Mute
* * [ Subscribe to RSS Feed ](https://www.googlecloudcommunity.com/rss/message?board.id=cloud-integration-services&message.id=346)
* * [ Permalink ](/gc/Integration-Services/Application-Integration-json-scheme-number-parameter-issue/m-p/607049/highlight/true#M346)
* [ Pri... | |
django_CharField/607740_19_0.txt | * [ Integration Services ](/gc/Integration-Services/bd-p/cloud-integration-services) | |
django_CharField/jsondata_69_0.txt | * Search indexes | |
django_CharField/jsondata_353_0.txt | INSERT INTO mydataset.table1 VALUES
(1, JSON """{
"name": "Alice",
"items": [
{"product": "book", "price": 10},
{"product": "food", "price": 5}
]
}"""),
(2, JSON """{
"name": "Bob",
"items": [
{"product": "pen", "price": 20}
]
}"""); | |
django_CharField/workingwithjson_73_0.txt | * Use transactions | |
django_CharField/jsondata_30_0.txt | * [ Introduction to BigQuery Migration Service ](/bigquery/docs/migration-intro)
* [ Migration assessment ](/bigquery/docs/migration-assessment)
* [ Migrate schema and data ](/bigquery/docs/migration/schema-data-overview)
* [ Migrate data pipelines ](/bigquery/docs/migration/pipelines)
* [ Database replication usin... | |
django_CharField/jsondatahtml_52_0.txt | int value;
if (aa_get("three", &value)) {
} | |
django_CharField/607740_75_0.txt | {"apiRequest.Data.Request.Top":["Input string '0.0' is not a valid integer. Path 'Data.Request.Top', line 16, position 16."],"apiRequest.Data.Request.Skip":["Input string '0.0' is not a valid integer. Path 'Data.Request.Skip', line 17, position 17."]} | |
django_CharField/workingwithjson_266_0.txt | require "google/cloud/spanner" | |
django_CharField/jsondata_139_0.txt | * Run federated queries | |
django_CharField/workingwithjson_203_0.txt | To learn how to install and use the client library for Spanner, see [ Spanner
client libraries ](/spanner/docs/reference/libraries) . | |
django_CharField/workingwithjson_228_0.txt |
### Java | |
django_CharField/workingwithjson_307_0.txt | /**
* TODO(developer): Uncomment the following lines before running the sample.
*/
// const projectId = 'my-project-id';
// const instanceId = 'my-instance';
// const databaseId = 'my-database'; | |
django_CharField/jsondata_190_0.txt | * [ Single time series forecasting ](/bigquery/docs/arima-single-time-series-forecasting-tutorial)
* [ Multiple time series forecasting ](/bigquery/docs/arima-multiple-time-series-forecasting-tutorial)
* [ Forecast millions of time series ](/bigquery/docs/arima-speed-up-tutorial)
* [ Multivariate time series forecas... | |
django_CharField/workingwithjson_251_0.txt | $database->transaction(['singleUse' => true])
->updateBatch('Venues', [
[
'VenueId' => 4,
'VenueDetails' =>
'[{"name":"room 1","open":true},{"name":"room 2","open":false}]'
],
[
'VenueId' => 19,
'VenueDetails' => '{"rating":9,"open":true}'
],
[
'VenueId' => 42,
'VenueDetails' =>
'{"name":null,"open":{"Monday":true,"Tue... | |
django_CharField/workingwithjson_3_0.txt | * [ AI solutions, generative AI, and ML ](https://cloud.google.com/docs/ai-ml)
* [ Application development ](https://cloud.google.com/docs/application-development)
* [ Application hosting ](https://cloud.google.com/docs/application-hosting)
* [ Compute ](https://cloud.google.com/docs/compute-area)
* [ Data analytic... | |
django_CharField/jsondata_420_0.txt | [{ "type": "thumb-down", "id": "hardToUnderstand", "label":"Hard to
understand" },{ "type": "thumb-down", "id":
"incorrectInformationOrSampleCode", "label":"Incorrect information or sample
code" },{ "type": "thumb-down", "id": "missingTheInformationSamplesINeed",
"label":"Missing the information/samples I need" },{ "ty... | |
django_CharField/workingwithjson_318_0.txt | use Google\Cloud\Spanner\Database;
use Google\Cloud\Spanner\SpannerClient; | |
django_CharField/jsondata_367_0.txt | +--------+
| item |
+--------+
| "food" |
| NULL |
+--------+ | |
django_CharField/jsondata_422_0.txt | * [ Choosing Google Cloud ](/why-google-cloud/)
* [ Trust and security ](/trust-center/)
* [ Open cloud ](/open-cloud/)
* [ Multicloud ](/multicloud/)
* [ Global infrastructure ](/infrastructure/)
* [ Customers and case studies ](/customers/)
* [ Analyst reports ](/analyst-reports/)
* [ Whitepapers ](/whitepapers/)
* [... | |
django_CharField/jsondata_137_0.txt | * [ Query Cloud Storage data in BigLake tables ](/bigquery/docs/query-cloud-storage-using-biglake)
* [ Query Cloud Storage data in external tables ](/bigquery/docs/query-cloud-storage-data) | |
django_CharField/jsondatahtml_16_0.txt | ` JsonCppData ` objects require external ` Json::Value ` storage for their
state, so they do not have default constructors. If you want to create a new
instance, you need to provide the storage for it. This is awkward and
inconvenient. Instead, you can create a capsule. | |
django_CharField/jsondata_236_0.txt | * Manage data quality | |
django_CharField/jsondatahtml_70_0.txt |
` JsonCppData ` instances are inherently const or mutable independent of
language ` const ` decorators. This is determined at construction time. If the
instance is constructed with a ` const Json::Value& ` reference then it will
be immutable. If it is constructed with a ` Json::Value* ` pointer it will be
mutable. The... | |
django_CharField/workingwithjson_36_0.txt | * [ Schemas overview ](/spanner/docs/schema-and-data-model)
* [ Schema design best practices ](/spanner/docs/schema-design)
* [ Make schema updates ](/spanner/docs/schema-updates)
* [ Views overview ](/spanner/docs/views)
* [ Create and manage views ](/spanner/docs/create-manage-views)
* [ Secondary indexes ](/sp... | |
django_CharField/workingwithjson_78_0.txt | * [ Reads outside of transactions ](/spanner/docs/reads)
* [ Directed reads ](/spanner/docs/directed-reads)
* Use Data Boost independent compute resources for reads | |
django_CharField/jsondata_107_0.txt | * [ Schedule transfers ](/bigquery/docs/servicenow-transfer) | |
django_CharField/jsondata_238_0.txt | * Govern | |
django_CharField/607740_112_0.txt | Q. Is it possible to explicitly specify integer type in json scheme, because
when I change type to integer. | |
django_CharField/jsondata_195_0.txt | * Feature engineering and hyperparameter tuning | |
django_CharField/607740_135_0.txt | ](http://twitter.com/share?text=Application Integration - json scheme 'number'
parameter issue&url=https://www.googlecloudcommunity.com/gc/Integration-
Services/Application-Integration-json-scheme-number-parameter-
issue/m-p/607740) | |
django_CharField/jsondata_112_0.txt | * Batch load data | |
django_CharField/jsondata_307_0.txt | SELECT JSON_OBJECT(ARRAY_AGG(k), ARRAY_AGG(v)) AS json_data
FROM Fruits
GROUP BY id | |
django_CharField/jsondatahtml_49_0.txt | ### Associative Arrays | |
django_CharField/workingwithjson_139_0.txt | ## Create a table with JSON columns | |
django_CharField/workingwithjson_201_0.txt | The following sample shows how to update ` JSON ` data using the Spanner
client libraries. | |
django_CharField/workingwithjson_260_0.txt | with database.batch() as batch:
batch.update(
table="Venues",
columns=("VenueId", "VenueDetails"),
values=[
(
4,
JsonObject(
[
JsonObject({"name": "room 1", "open": True}),
JsonObject({"name": "room 2", "open": False}),
]
),
),
(19, JsonObject(rating=9, open=True)),
(
42,
JsonObject(
{
"name": None,
"open": {"Monday": ... | |
django_CharField/workingwithjson_30_0.txt | * [ Autoscaling overview ](/spanner/docs/autoscaling-overview)
* [ Managed autoscaler ](/spanner/docs/managed-autoscaler)
* Open source Autoscaler tool | |
django_CharField/workingwithjson_185_0.txt | def add_json_column(instance_id, database_id):
"""Adds a new JSON column to the Venues table in the example database."""
# instance_id = "your-spanner-instance"
# database_id = "your-spanner-db-id" | |
django_CharField/607740_159_0.txt | https://www.googlecloudcommunity.com/html/@7EEB446AFD303232B17DB09B0B668FB1/assets/sharelog.png) Share this topic | |
django_CharField/607740_155_0.txt | [
](https://www.googlecloudcommunity.com/gc/forums/v5/forumtopicpage.kudosbuttonv2.kudoentity:kudoentity/kudosable-
gid/607049?t:ac=board-id/cloud-integration-services/message-
id/353&t:cp=kudos/contributions/tapletcontributionspage "Click here to give
likes to this post.") | |
django_CharField/jsondatahtml_61_0.txt | ` JsonCppData ` is always a wrapper around an exernal ` Json::Value ` instance
implemented by the JsonCpp library. Under normal circumstances, this is
completely hidden from you. However if you are already using the JsonCpp
library, or need direct access for some reason, the ` JsonCppData ` can
provide direct access to... | |
django_CharField/jsondata_51_0.txt | * [ Specify a schema ](/bigquery/docs/schemas)
* [ Specify nested and repeated columns ](/bigquery/docs/nested-repeated)
* [ Auto-detect schemas ](/bigquery/docs/schema-detect)
* [ Modify table schemas ](/bigquery/docs/managing-table-schemas)
* [ Specify default column values ](/bigquery/docs/default-values) | |
django_CharField/jsondata_387_0.txt | ### Flexibly convert JSON | |
django_CharField/workingwithjson_275_0.txt | To learn how to install and use the client library for Spanner, see [ Spanner
client libraries ](/spanner/docs/reference/libraries) . | |
django_CharField/workingwithjson_94_0.txt | * [ Build LLM-powered applications using LangChain ](/spanner/docs/langchain) | |
django_CharField/django_CharField_52_0.txt | #### Database Representation ¶
Behind the scenes, Django appends ` "_id" ` to the field name to create its
database column name. In the above example, the database table for the ` Car
` model will have a ` manufacturer_id ` column. (You can change this
explicitly by specifying ` db_column ` ) However, your code ... | |
django_CharField/607740_7_0.txt | * [ Cloud Forums ](/gc/Cloud-Forums/ct-p/cloud-forums) | |
django_CharField/workingwithjson_317_0.txt | To authenticate to Spanner, set up Application Default Credentials. For more
information, see [ Set up authentication for a local development environment
](/docs/authentication/provide-credentials-adc#local-dev) . | |
django_CharField/jsondata_244_0.txt | * Control access to table columns | |
django_CharField/workingwithjson_44_0.txt | * [ IAM overview ](/spanner/docs/iam)
* [ Apply IAM roles ](/spanner/docs/grant-permissions) | |
django_CharField/jsondata_174_0.txt | * Tutorials | |
django_CharField/jsondata_129_0.txt | * [ Introduction ](/bigquery/docs/best-practices-performance-overview)
* [ Use the query plan explanation ](/bigquery/docs/query-plan-explanation)
* [ Get query performance insights ](/bigquery/docs/query-insights)
* [ Optimize query computation ](/bigquery/docs/best-practices-performance-compute)
* [ Use history-b... | |
django_CharField/jsondata_179_0.txt | * Vector search | |
django_CharField/jsondata_126_0.txt | * Saved queries | |
django_CharField/jsondatahtml_12_0.txt | The library provides a concrete implementation of this class with a ready-to-
use interface in ` googleapis::client::JsonCppData ` . The data objects
emitted by the code generator are derived from this class and provide a
specialized interface for the class as defined by the specification in the
service's Discovery Doc... | |
django_CharField/jsondata_205_0.txt | * [ Reference patterns ](/bigquery/docs/reference-patterns)
* Administer | |
django_CharField/workingwithjson_28_0.txt | * Instances | |
django_CharField/jsondata_2_0.txt | close | |
django_CharField/django_CharField_51_0.txt | ### ` ForeignKey ` ¶
_ class _ ` ForeignKey ` ( _ to _ , _ on_delete _ , _ ** options _ ) ¶
A many-to-one relationship. Requires two positional arguments: the class to
which the model is related and the ` on_delete ` option.
To create a recursive relationship – an object that has a many-to-one
relat... | |
django_CharField/607740_79_0.txt | Failed to save changes. Please try again later. Error: Message: instance type (number) does not match any allowed primitive type (allowed: ["integer"]) Schema Path:"/properties/Data/properties/Request/properties/Skip" Message: instance type (number) does not match any allowed primitive type (allowed: ["integer"]) Schem... | |
django_CharField/607740_6_0.txt | * [ Google Cloud Home ](https://www.googlecloudcommunity.com/gc/Google-Cloud/ct-p/google-cloud) | |
django_CharField/607740_21_0.txt | * [ Groups ](/gc/grouphubs/page/node-display-id/category:cloud-groups) | |
django_CharField/jsondata_134_0.txt | * [ Query Apache Iceberg data ](/bigquery/docs/query-iceberg-data)
* [ Query open table formats with manifests ](/bigquery/docs/query-open-table-format-using-manifest-files)
* Azure Blob Storage data | |
django_CharField/workingwithjson_242_0.txt | // Gets a reference to a Cloud Spanner instance and database.
const instance = spanner.instance(instanceId);
const database = instance.database(databaseId); | |
django_CharField/workingwithjson_311_0.txt | const jsonValue = {rating: 9}; | |
django_CharField/workingwithjson_7_0.txt | [ Related sites ](https://cloud.google.com/) | |
django_CharField/django_CharField_25_0.txt | ### ` BooleanField ` ¶
_ class _ ` BooleanField ` ( _ ** options _ ) ¶
A true/false field.
The default form widget for this field is [ ` CheckboxInput `
](../../forms/widgets/#django.forms.CheckboxInput
"django.forms.CheckboxInput") , or [ ` NullBooleanSelect `
](../../forms/widgets/#django.forms.Null... | |
django_CharField/workingwithjson_120_0.txt | * [ Home ](https://cloud.google.com/)
* [ Spanner ](https://cloud.google.com/spanner)
* [ Documentation ](https://cloud.google.com/spanner/docs)
* [ Guides ](https://cloud.google.com/spanner/docs/create-query-database-console) | |
django_CharField/607740_123_0.txt | [ Reply ]() | |
django_CharField/workingwithjson_206_0.txt | auto commit_result = client.Commit(spanner::Mutations{update_venues});
if (!commit_result) throw std::move(commit_result).status();
std::cout << "Insert was successful [spanner_update_data_with_json_column]\n";
} | |
django_CharField/jsondata_217_0.txt | * Legacy reservations | |
django_CharField/jsondata_250_0.txt | * Protect sensitive data | |
django_CharField/workingwithjson_128_0.txt | ## Specifications | |
django_CharField/jsondata_247_0.txt | * [ Manage policy tags across locations ](/bigquery/docs/managing-policy-tags-across-locations)
* [ Best practices for using policy tags ](/bigquery/docs/best-practices-policy-tags) | |
django_CharField/jsondata_362_0.txt | SELECT cart['name']
FROM mydataset.table1; | |
django_CharField/workingwithjson_135_0.txt | SELECT (JSON '{"a":null}').a IS NULL; -- Returns FALSE
SELECT (JSON '{"a":null}').b IS NULL; -- Returns TRUE | |
django_CharField/workingwithjson_41_0.txt | * [ PGAdapter overview ](/spanner/docs/pgadapter)
* [ Get PGAdapter ](/spanner/docs/pgadapter-get)
* [ Start PGAdapter ](/spanner/docs/pgadapter-start)
* [ PGAdapter session management commands ](/spanner/docs/pgadapter-session-mgmt-commands)
* [ Connect PGAdapter to the emulator ](/spanner/docs/pgadapter-emulator... | |
django_CharField/workingwithjson_48_0.txt | * Customer-managed encryption keys (CMEK) | |
django_CharField/jsondata_424_0.txt | * [ Infrastructure modernization ](/solutions/infrastructure-modernization/)
* [ Databases ](/solutions/databases/)
* [ Application modernization ](/solutions/application-modernization/)
* [ Smart analytics ](/solutions/smart-analytics/)
* [ Artificial Intelligence ](/solutions/ai/)
* [ Security ](/solutions/security/)... | |
django_CharField/workingwithjson_39_0.txt | * Connect | |
django_CharField/jsondata_39_0.txt | * Oracle | |
django_CharField/workingwithjson_171_0.txt | // Alter existing table to add a column.
const [operation] = await databaseAdminClient.updateDatabaseDdl({
database: databaseAdminClient.databasePath(
projectId,
instanceId,
databaseId
),
statements: request,
}); | |
django_CharField/jsondata_318_0.txt | ### Load from CSV files | |
django_CharField/django_CharField_38_0.txt | ### ` ImageField ` ¶
_ class _ ` ImageField ` ( _ upload_to = None _ , _ height_field = None
_ , _ width_field = None _ , _ max_length = 100 _ , _ ** options _ )
¶
Inherits all attributes and methods from ` FileField ` , but also validates
that the uploaded object is a valid image.
In additi... | |
django_CharField/workingwithjson_340_0.txt | In the example below, an index ` VenueMisc ` is created on the generated
column ` Details ` which extracts a scalar value from the JSON element `
VenueDetails ` . The editable json_path is a STRING value in [ JSONPath
](/spanner/docs/reference/standard-sql/functions-and-
operators#JSONPath_format) format. | |
django_CharField/jsondata_382_0.txt | SELECT STRING(JSON '"purple"') AS color; | |
django_CharField/607740_146_0.txt | Q. Is it possible to explicitly specify integer type in json scheme, because
when I change type to integer. | |
django_CharField/django_CharField_13_0.txt | ### ` help_text ` ¶
` Field. ` ` help_text ` ¶
Extra “help” text to be displayed with the form widget. It’s useful for
documentation even if your field isn’t used on a form.
Note that this value is _not_ HTML-escaped in automatically-generated forms.
This lets you include HTML in ` help_text ` if you so ... | |
django_CharField/workingwithjson_16_0.txt | * [ Documentation ](/docs)
* [ Guides ](/spanner/docs/create-query-database-console)
* [ Reference ](/spanner/docs/apis)
* [ Samples ](/spanner/docs/samples)
* [ Support ](/spanner/docs/support)
* [ Resources ](/spanner/docs/resources)
* [ Technology areas ](/docs/tech-area-overviews)
* More
* [ Cross-product to... | |
django_CharField/jsondata_120_0.txt | * Export data | |
django_CharField/jsondata_358_0.txt |
To access an array element, use the [ JSON subscript operator
](/bigquery/docs/reference/standard-sql/operators#json_subscript_operator) .
The following example returns the first element of the ` items ` array: | |
django_CharField/workingwithjson_104_0.txt | * [ Audit logs ](/spanner/docs/audit-logging)
* [ Calculate streaming and partition request latency ](/spanner/docs/audit-logging-request-latency-guide)
* Monitor and improve database performance | |
django_CharField/jsondata_304_0.txt | ### Convert schematized data to JSON | |
django_CharField/workingwithjson_100_0.txt | * [ Integrate Spanner with IntelliJ ](/spanner/docs/use-intellij)
* [ Integrate Spanner with Looker ](/spanner/docs/partners/looker)
* [ Integrate Spanner with Liquibase ](/spanner/docs/use-liquibase) | |
django_CharField/jsondata_293_0.txt |
You can't partition or cluster a table on ` JSON ` columns, because the
equality and comparison operators are not defined on the ` JSON ` type. | |
django_CharField/workingwithjson_178_0.txt | /**
* Adds a JSON column to a table.
* Example:
* ```
* add_json_column($projectId, $instanceId, $databaseId);
* ```
*
* @param string $projectId The Google Cloud project ID.
* @param string $instanceId The Spanner instance ID.
* @param string $databaseId The Spanner database ID.
*/
function add_json_column(string $pro... | |
django_CharField/workingwithjson_147_0.txt | void AddJsonColumn(google::cloud::spanner_admin::DatabaseAdminClient client,
std::string const& project_id,
std::string const& instance_id,
std::string const& database_id) {
google::cloud::spanner::Database database(project_id, instance_id,
database_id);
auto metadata = client
.UpdateDatabaseDdl(database.FullName(), {R... | |
django_CharField/django_CharField_21_0.txt | ### ` AutoField ` ¶
_ class _ ` AutoField ` ( _ ** options _ ) ¶
An ` IntegerField ` that automatically increments according to available
IDs. You usually won’t need to use this directly; a primary key field will
automatically be added to your model if you don’t specify otherwise. See [
Automatic prima... | |
django_CharField/607740_40_0.txt | Search instead for |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.