vw_consumer_invitations
Creates, updates, deletes, gets or lists a vw_consumer_invitations
resource.
Overview
Name | vw_consumer_invitations |
Type | View |
Id | azure.data_share.vw_consumer_invitations |
Fields
See the SQL Definition (view DDL) for fields returned by this view.
SQL Definition
- Sqlite3
- Postgres
SELECT
id as id,
name as name,
systemData as system_data,
type as type,
JSON_EXTRACT(properties, '$.dataSetCount') as "data_set_count",
JSON_EXTRACT(properties, '$.description') as "description",
JSON_EXTRACT(properties, '$.expirationDate') as "expiration_date",
JSON_EXTRACT(properties, '$.invitationId') as "invitation_id",
JSON_EXTRACT(properties, '$.invitationStatus') as "invitation_status",
JSON_EXTRACT(properties, '$.location') as "location",
JSON_EXTRACT(properties, '$.providerEmail') as "provider_email",
JSON_EXTRACT(properties, '$.providerName') as "provider_name",
JSON_EXTRACT(properties, '$.providerTenantName') as "provider_tenant_name",
JSON_EXTRACT(properties, '$.respondedAt') as "responded_at",
JSON_EXTRACT(properties, '$.sentAt') as "sent_at",
JSON_EXTRACT(properties, '$.shareName') as "share_name",
JSON_EXTRACT(properties, '$.termsOfUse') as "terms_of_use",
JSON_EXTRACT(properties, '$.userEmail') as "user_email",
JSON_EXTRACT(properties, '$.userName') as "user_name",
location,
invitationId
FROM azure.data_share.consumer_invitations
WHERE location = 'replace-me' AND invitationId = 'replace-me';
SELECT
id as id,
name as name,
systemData as system_data,
type as type,
json_extract_path_text(properties, '$.dataSetCount') as "data_set_count",
json_extract_path_text(properties, '$.description') as "description",
json_extract_path_text(properties, '$.expirationDate') as "expiration_date",
json_extract_path_text(properties, '$.invitationId') as "invitation_id",
json_extract_path_text(properties, '$.invitationStatus') as "invitation_status",
json_extract_path_text(properties, '$.location') as "location",
json_extract_path_text(properties, '$.providerEmail') as "provider_email",
json_extract_path_text(properties, '$.providerName') as "provider_name",
json_extract_path_text(properties, '$.providerTenantName') as "provider_tenant_name",
json_extract_path_text(properties, '$.respondedAt') as "responded_at",
json_extract_path_text(properties, '$.sentAt') as "sent_at",
json_extract_path_text(properties, '$.shareName') as "share_name",
json_extract_path_text(properties, '$.termsOfUse') as "terms_of_use",
json_extract_path_text(properties, '$.userEmail') as "user_email",
json_extract_path_text(properties, '$.userName') as "user_name",
location,
invitationId
FROM azure.data_share.consumer_invitations
WHERE location = 'replace-me' AND invitationId = 'replace-me';