Scenario comparison between SPL and SQL
If you are familiar with SQL, use the following comparison table to find the equivalent Simple Log Service Processing Language (SPL) statements for common data processing scenarios.
|
Scenario |
SQL statement |
SPL statement |
|
Data filtering |
|
|
|
Field processing and filtering |
Select a field by exact name and rename it.
|
|
|
Data standardization (SQL function calls) |
Convert a data type and parse a time value.
|
Convert a data type and parse a time value.
|
|
Field extraction |
|
|