SQL to CQL: Collaboration & Reusability

SQL CQL
  • Reusability through views and stored procedures

  • Sharing typically requires database access

  • Limited metadata and documentation capabilities

  • Reusability through saved queries and functions

  • Sharing built into the platform

  • Rich metadata, tagging, and documentation features

For example, using the search in SQL to CQL: Iterative Development Approach, the search can be saved (in the UI, or part of a package) and can then be called within another search using:

logscale
$error_summary 
| chart(x=service, y=count)