2.1.5 쿼리에서 데이터 세트 생성

목표

쿼리 결과에서 데이터 세트를 생성하는 방법을 알아봅니다
Microsoft Power BI Desktop/Tableau를 쿼리 서비스에 직접 연결
Microsoft Power BI Desktop/Tableau Desktop에서 보고서 만들기

컨텍스트

데이터를 쿼리하는 명령줄 인터페이스는 흥미롭지만 잘 나타나지 않습니다. 이 단원에서는 Microsoft Power BI Desktop/Tableau를 쿼리 서비스에서 직접 사용하여 관련자를 위한 시각적 보고서를 만드는 방법에 대한 권장 워크플로를 안내합니다.

SQL 쿼리에서 데이터 세트 만들기

쿼리의 복잡성은 쿼리 서비스가 결과를 반환하는 데 걸리는 시간에 영향을 줍니다. 명령줄 또는 Microsoft Power BI/Tableau와 같은 다른 솔루션에서 직접 쿼리할 때 쿼리 서비스는 5분 시간 제한(600초)으로 구성됩니다. 또한 경우에 따라 이러한 솔루션은 더 짧은 시간 초과로 구성됩니다. 더 큰 쿼리를 실행하고 결과를 반환하는 데 걸리는 시간을 선납하기 위해 쿼리 결과에서 데이터 세트를 생성하는 기능을 제공합니다. 이 기능은 CTAS(Create Table As Select)라는 표준 SQL 기능을 사용합니다. 쿼리 목록의 Platform UI에서 사용할 수 있으며 PSQL을 사용하여 명령줄에서 직접 실행할 수도 있습니다.

이전 버전에서는 PSQL에서 실행하기 전에 이름을 자신의 ldap로 입력 ​했습니다.

select /* enter your name */
       e.--aepTenantId--.identification.core.ecid as ecid,
       e.placeContext.geo.city as city,
       e.placeContext.geo._schema.latitude latitude,
       e.placeContext.geo._schema.longitude longitude,
       e.placeContext.geo.countryCode as countrycode,
       c.--aepTenantId--.interactionDetails.core.callCenterAgent.callFeeling as callFeeling,
       c.--aepTenantId--.interactionDetails.core.callCenterAgent.callTopic as callTopic,
       c.--aepTenantId--.interactionDetails.core.callCenterAgent.callContractCancelled as contractCancelled,
       l.--aepTenantId--.loyaltyDetails.level as loyaltystatus,
       l.--aepTenantId--.loyaltyDetails.points as loyaltypoints,
       l.--aepTenantId--.identification.core.crmId as crmid
from   demo_system_event_dataset_for_website_global_v1_1 e
      ,demo_system_event_dataset_for_call_center_global_v1_1 c
      ,demo_system_profile_dataset_for_crm_global_v1_1 l
where  e.--aepTenantId--.demoEnvironment.brandName IN ('Citi Signal')
and    e.web.webPageDetails.name in ('Cancel Service', 'Call Start')
and    e.--aepTenantId--.identification.core.ecid = c.--aepTenantId--.identification.core.ecid
and    l.--aepTenantId--.identification.core.ecid = e.--aepTenantId--.identification.core.ecid;

Adobe Experience Platform UI로 이동 - https://experience.adobe.com/platform

검색 필드에 ldap를 입력하여 Adobe Experience Platform 쿼리 UI에서 실행된 문을 검색합니다.

쿼리 ​를 선택하고 로그(으)로 이동한 다음 검색 필드에 ldap를 입력합니다.

search-query-for-ctas.png

쿼리를 선택하고 CTAS로 실행 ​을 클릭합니다.

search-query-for-ctas.png

--aepUserLdap-- Callcenter Interaction Analysis을(를) 데이터 세트의 이름과 설명으로 입력하고 CTAS로 실행 ​을(를) 클릭합니다.

create-ctas-dataset.png

그 결과 상태가 제출됨 ​인 새 쿼리가 표시됩니다.

ctas-query-submitted.png

완료되면 만들어진 데이터 집합 ​에 대한 새 항목이 표시됩니다(페이지를 새로 고쳐야 할 수 있음).

ctas-dataset-created.png

데이터 세트가 만들어지는 즉시(5~10분 정도 소요될 수 있음) 연습을 계속할 수 있습니다.

다음 단계

옵션 A로 이동: 2.1.6 쿼리 서비스 및 Power BI

옵션 B로 이동: 2.1.7 쿼리 서비스 및 타블로

쿼리 서비스(으)로 돌아가기

모든 모듈(으)로 돌아가기

recommendation-more-help
4bbf020c-24db-4a43-b239-88fab142f02d