Filter Data using DRUID Custom Query

The DRUID Custom Query allows you to filter request data for Query entities and Query-related entity integration tasks. With this feature, you can retrieve and analyze data from entities beyond the request entity, without relying on the Query-related entity integration task. The DRUID Custom Query supports a range of SQL statements, functions, operators, and clauses, as detailed below.

Basic statements

Aliases

Filtering and conditions

Aggregate Functions

Joins

Set Operations

Expressions and Operators

Expressions allow you to perform calculations or operations on fields, literals, and constants. These expressions are often combined with operators to manipulate the data within your queries.

Hint:  You can also use expressions in the WHERE clause to filter results.

String Functions

String functions are used to manipulate and process text (string) data. These functions help format, extract, replace, and analyze string values.

Note:  The string functions are supported in DRUID 7.2 and higher.

DATETIME Functions

You can use the following DATETIME functions in a DRUID Custom Query to manipulate and filter data based on date and time values. These functions support use cases such as rounding to specific time intervals, shifting dates, and extracting specific parts of a timestamp.

Advanced Functions

Records limiting clauses