You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When we move to consumer Trino, our API is commonly use for simple lookups.
For example, find me all contracts from this root deployer address in contracts_v0.
Need to know how well this will perform
Here's the Hasura-generated query for this:
SELECT toJSONString(groupArray(cast("_rowset"."_rowset", 'Tuple(rows Array(Tuple("contractAddress" String, "contractNamespace" String, "deploymentDate" Date, "factoryAddress" String, "originatingAddress" String, "rootDeployerAddress" String, "sortWeight" Int64)))'))) AS "rowsets" FROM (SELECT tuple(groupArray(tuple("_row"."_field_contractAddress" AS "contractAddress", "_row"."_field_contractNamespace" AS "contractNamespace", "_row"."_field_deploymentDate" AS "deploymentDate", "_row"."_field_factoryAddress" AS "factoryAddress", "_row"."_field_originatingAddress" AS "originatingAddress", "_row"."_field_rootDeployerAddress" AS "rootDeployerAddress", "_row"."_field_sortWeight" AS "sortWeight")) AS "rows") AS "_rowset" FROM (SELECT "_origin"."contract_address" AS "_field_contractAddress", "_origin"."contract_namespace" AS "_field_contractNamespace", "_origin"."deployment_date" AS "_field_deploymentDate", "_origin"."factory_address" AS "_field_factoryAddress", "_origin"."originating_address" AS "_field_originatingAddress", "_origin"."root_deployer_address" AS "_field_rootDeployerAddress", "_origin"."sort_weight" AS "_field_sortWeight" FROM "default"."contracts_v0" AS "_origin" WHERE "_origin"."root_deployer_address" ILIKE {p0:String}) AS "_row") AS "_rowset" FORMAT TabSeparatedRaw;
The text was updated successfully, but these errors were encountered:
What is it?
When we move to consumer Trino, our API is commonly use for simple lookups.
For example, find me all contracts from this root deployer address in
contracts_v0
.Need to know how well this will perform
Here's the Hasura-generated query for this:
The text was updated successfully, but these errors were encountered: