mirror of
https://github.com/open-metadata/OpenMetadata.git
synced 2025-10-23 23:04:23 +00:00
* DOCS - Prepare 1.7 Release and 1.8 SNAPSHOT * DOCS - Prepare 1.7 Release and 1.8 SNAPSHOT
2.5 KiB
2.5 KiB
| title | slug |
|---|---|
| createQuery | /main-concepts/metadata-standard/schemas/api/data/createquery |
CreateQueryRequest
Create Query Request
Properties
name: Name of a Query in case of User Creation. Refer to ../../type/basic.json#/definitions/entityName.displayName(string): Display Name that identifies this query.description: Description of the query instance. Refer to ../../type/basic.json#/definitions/markdown.owners: Owners of this entity. Refer to ../../type/entityReferenceList.json. Default:null.tags(array): Tags for this Query. Default:null.- Items: Refer to ../../type/tagLabel.json.
query: SQL Query definition. Refer to ../../type/basic.json#/definitions/sqlQuery.query_type(string): SQL query type.exclude_usage(boolean): Flag to check if query is to be excluded while processing usage.duration(number): How long did the query took to run in milliseconds.users(array): UserName of the user running the query.- Items: Refer to ../../type/basic.json#/definitions/fullyQualifiedEntityName.
usedBy(array): List of users who ran the query but does not exist in OpenMetadata.- Items (string)
dialect(string): SQL dialect.queryDate: Date on which the query ran. Refer to ../../type/basic.json#/definitions/timestamp.queryUsedIn: list of entities to which the query is joined. Refer to ../../type/entityReferenceList.json.triggeredBy: Entity that triggered the query. E.g., a Stored Procedure or a Pipeline Task. Refer to ../../type/entityReference.json.processedLineage(boolean): Flag if this query has already been successfully processed for lineage. Default:false.service: Link to the database service fully qualified name where this query has been run. Refer to ../../type/basic.json#/definitions/fullyQualifiedEntityName.domain(string): Fully qualified name of the domain the Table belongs to.
Documentation file automatically generated at 2025-01-15 09:05:41.923720+00:00.