Skip to content

Commit 3ddb9d8

Browse files
committed
address comments
1 parent d7d03cd commit 3ddb9d8

File tree

1 file changed

+3
-7
lines changed
  • presto-docs/src/main/sphinx/connector

1 file changed

+3
-7
lines changed

presto-docs/src/main/sphinx/connector/clp.rst

Lines changed: 3 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -328,18 +328,14 @@ Semi-structured logs can have many potential keys, which can lead to very wide P
328328
concise and still preserve access to dynamic fields, the connector provides two sets of functions that are specific to
329329
the CLP connector. These functions are not part of standard Presto SQL.
330330

331-
To enable access to dynamic or less common fields not present in the exposed schema, CLP provides two set of functions
332-
to help users query flexible log schemas while keeping the table metadata definition concise. These functions are only
333-
available in the CLP connector and are not part of standard Presto SQL.
334-
335331
- JSON path functions (e.g., ``CLP_GET_STRING``)
336332
- Wildcard column matching functions for use in filter predicates (e.g., ``CLP_WILDCARD_STRING_COLUMN``)
337333

338334
There is **no performance penalty** when using these functions. During query optimization, the connector rewrites these
339-
functions to references to concrete schema-backed columns or valid symbols in KQL queries. This avoids additional
335+
functions into references to concrete schema-backed columns or valid symbols in KQL queries. This avoids additional
340336
parsing overhead and delivers performance comparable to querying standard columns.
341337

342-
Path-Based Functions
338+
Path-based Functions
343339
====================
344340

345341
.. function:: CLP_GET_STRING(varchar) -> varchar
@@ -349,7 +345,7 @@ Path-Based Functions
349345

350346
.. function:: CLP_GET_BIGINT(varchar) -> bigint
351347

352-
Returns the integer value at the given JSON path, where the column type is ``Integer``, Returns a Presto ``BIGINT``.
348+
Returns the integer value at the given JSON path, where the column type is ``Integer``. Returns a Presto ``BIGINT``.
353349

354350
.. function:: CLP_GET_DOUBLE(varchar) -> double
355351

0 commit comments

Comments
 (0)