Страница:
Local Tutorial Reference data
Страницы
Arm Parameters
Azure deployment
Cloud Deployment On Linux
Cloud Simulator
Cloud deployment
Configuring the Arm template
Create new metric
Creating your first pipeline in 5 minutes!
Data Accelerator with Databricks
Data Accelerator
Data Accumulator
Diagnose issues using Telemetry
FAQ
Find Applications For Your Environment
Home
Inviting others and RBAC
Live query
Local Cloud Debugging
Local Tutorial Add an Alert
Local Tutorial Adding SQL to your flow and outputs to Metrics dashboard
Local Tutorial Advanced Aggregate alerts
Local Tutorial Creating your first Flow in local mode
Local Tutorial Custom schema
Local Tutorial Debugging using Spark logs
Local Tutorial Extending with UDF UDAF custom code
Local Tutorial Outputs to disk
Local Tutorial Reference data
Local Tutorial Scaling the docker host
Local Tutorial Tag Aggregate to metrics
Local Tutorial Tag Rules output to local file
Local create metric
Local mode with Docker
Local running sample
Output data to Azure SQL Database
Run Data Accelerator Flows on Databricks
Scale
Schedule batch job
Set up aggregate alert
Set up new outputs
Set up simple alert
Spark logs
Tagged data flowing to CosmosDB
Tagging aggregate rules
Tagging simple rules
Tutorials
Upgrade Existing Data Accelerator Environment to v1.1
Upgrade Existing Data Accelerator Environment to v1.2
Use Input in different tenant
Windowing functions
functions
readme
reference data
sql query
4
Local Tutorial Reference data
Kwangje Cho редактировал(а) эту страницу 2019-10-04 12:03:17 -07:00
Содержание
The Reference tab is where you can add static data to join with your streaming data.
In this tutorial, you'll learn to:
- Add Reference data
- Use the Editor features to join to your Reference Data
Adding Reference Data
- Open your Flow and go to the Reference tab
- Add a new CSV/TSV file
- Given a csv file that looks as such located in /app/myRefData.csv in the container. (See FAQ how to upload a file to your docker.)
You can use the following example:
temperature tempDescription
32 freezing
70 balmy
98 body
212 boiling
- Set up your CSV by setting up:
- Open the Query tab of your flow
- You can now join your streaming data to the reference data by doing a JOIN:
JOIN myRefData ON myRefData.temperature;
- Add an output statement to the code:
OUTPUT extendedTemperature TO myOutput;
- Click Deploy
Your data now has reference data joined to it. You can view the results by looking at the local file output as described in this tutorial.