arrow-left

All pages
gitbookPowered by GitBook
1 of 1

Loading...

Literal

Describes the literal relation operator in the multi-stage query engine.

The literal operator is used to define a constant value in the query. This operator may be generated by the multi-stage query engine when you use a constant value in a query.

hashtag
Blocking nature

The literal operator is a blocking operator, but given its trivial nature it should not matter.

hashtag
Implementation details

The literal operator is a simple operator that does not require any computation.

hashtag
Hints

None

hashtag
Stats

hashtag
executionTimeMs

Type: Long

The summation of time spent by all threads executing the operator. This means that the wall time spent in the operation may be smaller that this value if the parallelism is larger than 1.

hashtag
emittedRows

Type: Long

The number of groups emitted by the operator. It should always be one.

hashtag
Explain attributes

None

hashtag
Tips and tricks

hashtag
Avoid very large literals

Take care when using very large literals (in the order hundreds of KBs), as they may need to be sent from brokers to servers and in general may introduce latencies in the parsing and query optimization.