Data Distiller
Data Distiller Resources:Â
- Data Distiller Overview Customer PresentationÂ
- Data Distiller FAQsÂ
- Data Distiller Use Case RepositoryÂ
- https://fieldreadiness-adobe.highspot.com/items/6340b3946acd44dd2728fe54?lfrm=srp.2Â Â
- Data Distiller Technical Enablement/Technical Deep DiveÂ
- Data Distiller Walnut demoÂ
- Query Service GuardrailsÂ
Demo SummaryÂ
Before you get into the UI, itâs assumed that youâve delivered an overview of Query Service and explained key concepts such as:Â
- Data lake vs profile storeÂ
- Schemas & datasetsÂ
- Query Service use cases and capabilities.Â
- Ad hoc vs batch queriesÂ
The goal of the demo is to re-iterate the key value propositions of Data Distiller from your presentation by showing them in action. To wit, the demo uses the following structure:Â
- Introducing the Query Service UIÂ Orient the audience to the user interface with a high-level explanation of the major elementsÂ
- Writing a Query Explain the options for creating queries and how queries function within the AEP architectureÂ
- Scheduling a Query Show this essential aspect of Data Distiller and re-iterate its value proposition and use cases.Â
How to Use:Â
- There are queries live in both Prod Retail and Prod B2P sandboxesÂ
- Prod Retail: Tier Calculation Â
- Prod B2P: Contact Engagement Counter  Â
Orient your audience to the user interface, starting on the âOverviewâ tab within queries. Items to call out:Â
- For people who havenât seen the UI before, point out that across the top is the Adobe navigation and down the left is the RTCDP navigationÂ
- The Overview page is a great place to access Query Service product documentationÂ
- Summarize the other items that are NOT part of your demoÂ
- Credentials is where you can get the username and password to use for the day if youâre using a visualization tool like PowerBI or Tableau to query the data lakeÂ
- Log is where you can see a history of the queries that have been run in your sandboxÂ
Â
Templates & Scheduled Queries are where you will spend your time when demonstrating Data Distiller.Â
Â
If youâre doing a full Query Service Demo, you may choose to click in and spend more time on the other items as well.Â
Â
TEMPLATESÂ
As you click into the Templates section, explain this is where saved queries reside. All queries run in the UI or via POST request by API are saved here to make it easy to re-use queries and run them again later if needed.Â
Â
Click the Create Query button >>>Â
TIPSÂ
- Have a simple query ready to paste into the UI. Â
- Limit your results to 10Â
- Run the query before your meeting because query results are cached and it will run faster.Â
- Table names depend on the dataset youâre running against. Choose something with a recent, successful run. And, ideally, a dataset with data of interest to your audience such as CRM data.Â
- Ideally, in a custom demo, youâll write a query that reflects something specifically useful to your customer.  Â
Â
EXAMPLE:Â Â
select * from customer_ai_scores_propensity_to_complete_orderÂ
limit 10;Â
Â
Explain:Â
- To create a new query, we can type our SQL code into this window. I have a query already for us to go. (Paste your query and run it while you make the following points)Â
- This UI is intended to be used for either simple ad hoc queries or to set up your scheduled queries like weâre doing today.  Â
- If you need to run or test very complex queries, the credentials screen provides you with the detail needed to connect an editor to our datalake, which will be able to run much faster than using a browser-based system like this.  Â
- This editor will allow you to use most standard SQL functions, an Adobe-specific library of functions, as well as some Spark SQL function. These and more are all documented on Experience League.Â
- In looking at the results, notice the JSON format. You can use your SQL queries to display the results in different formats if needed. At this point, what weâve done is effectively run what we call an ad hoc query. As hoc queries are very useful for spot-checking data to see what came into the data lake.Â
- At this point, we have run what we call an ad hoc query. We call them âad hocâ because the results are not output to a dataset. VALUE PROPOSITION: Ad hoc queries are good for spot-checking data or validating what has come into the data lake. Â
- In order to schedule this query, we need to first give it a name and save it. Saving an ad hoc query also allows us to come back and run the query again, if we need to routinely check on the data that has been sent to the system.Â
Â
EITHERÂ Â
- save your basic query and click back into it ORÂ Â
- click back to Templates and click into a query saved in advance of the demo. If you saved your basic query, you may need to refresh the Templates screen to see it in the list.Â
Â
- Once the query has been saved as a template, we can now add a schedule and output the results to a dataset, which is the essence of Data DistillerÂ
Â
Click the View Schedule button >>>Â
This screen is where the schedules associated with this query appear. You can have multiple schedules for the same query. This is handy for situations where you want to use the same query to output to different datasets.Â
Â
VALUE PROPOSITION: The ability to schedule queries to run on a regular basis and output those results to a dataset is what gives us the ability to shape or manipulate data after it has already been ingested once. This is what Data Distiller is all about. It allows us to generate new data elements based on any previously-ingested data elements, which, for some use cases, can further enrich the profile. Â
Â
So, letâs add a schedule.Â
Â
Click the Add Schedule button >>>Â
Step through the options around scheduling and the dataset.Â
- The shortest frequency option is hourlyÂ
- The longest frequency option is yearlyÂ
- You can choose when the process will start and stop.Â
- There isnât an option at the moment for it to run indefinitely, so if you want it to run for a long time, you choose a date far in the future.Â
- Choose whether you want to use an existing dataset or have the system create a new dataset for you. (You can use this as an opportunity to discuss the value of our dataset approach: Youâll typically want a separate dataset for the results of your query so that you can monitor it. Manual dataset creation or system generated datasets are just a matter of preference.)Â
Â
Once youâre done setting this up, you click âsaveâ and then the query will run according to the schedule. Â
Â
CAUTION:Â
- Once a schedule is created, it will always be listed on the Scheduled Queries screen even after you delete it. So, donât save your schedules in shared sandboxesÂ
- If youâre building a custom demo and you absolutely have to create a scheduled query, be sure to limit the results and the number of runs in your schedule. The cost to run scheduled queries can run very high!Â
Â
Click âcancelâ and then click over to the Scheduled Queries tab >>>Â
This screen shows you all the queries that are currently running and have run in the past.Â
Â
Clicking on the name of a recurring query will let you see a list of past runs of that query schedule.Â
Â
Click the name of your scheduled query >>>Â
And clicking the query run ID will take you into detail about that specific run.Â
Â
Click one of the query IDs >>>Â
And, finally, this detail screen shows you exactly what query ran and when along with other technical details.Â
Â
This concludes the demo. From here, you could explore other areas of query service, datasets, or aspects of profile. >>>Â