Skip to content

Commit

Permalink
Removing runtime columns as their value might change
Browse files Browse the repository at this point in the history
  • Loading branch information
soham-bentley committed Jan 23, 2025
1 parent 0237554 commit 5da74b9
Showing 1 changed file with 16 additions and 16 deletions.
32 changes: 16 additions & 16 deletions core/backend/src/test/ecsql/queries/Misc.ecsql.md
Original file line number Diff line number Diff line change
Expand Up @@ -742,9 +742,9 @@ PRAGMA explain_query (
| | notused | true | 2 | notused | notused | undefined | long | Int64 | notused |
| | detail | true | 3 | detail | detail | undefined | string | String | detail |

| id | parent | notused | detail |
| --- | ------ | ------- | ---------------------------------------------------------- |
| 3 | 0 | 62 | SEARCH main.ec_Class USING INDEX ix_ec_Class_Name (Name=?) |
| detail |
| ---------------------------------------------------------- |
| SEARCH main.ec_Class USING INDEX ix_ec_Class_Name (Name=?) |

# Trying PRAGMA explain_query with cte

Expand All @@ -761,11 +761,11 @@ PRAGMA explain_query ( [WITH cnt (x,y) AS ( SELECT 100, 200 ) SELEC
| | notused | true | 2 | notused | notused | undefined | long | Int64 | notused |
| | detail | true | 3 | detail | detail | undefined | string | String | detail |

| id | parent | notused | detail |
| --- | ------ | ------- | ----------------- |
| 2 | 0 | 0 | CO-ROUTINE cnt |
| 3 | 2 | 0 | SCAN CONSTANT ROW |
| 8 | 0 | 16 | SCAN cnt |
| detail |
| ----------------- |
| CO-ROUTINE cnt |
| SCAN CONSTANT ROW |
| SCAN cnt |

# Trying PRAGMA explain_query with recursive cte

Expand All @@ -790,14 +790,14 @@ PRAGMA explain_query (
| | notused | true | 2 | notused | notused | undefined | long | Int64 | notused |
| | detail | true | 3 | detail | detail | undefined | string | String | detail |

| notused | detail |
| ------- | ----------------- |
| 0 | CO-ROUTINE cnt |
| 0 | SETUP |
| 0 | SCAN CONSTANT ROW |
| 0 | RECURSIVE STEP |
| 216 | SCAN cnt |
| 215 | SCAN cnt |
| detail |
| ----------------- |
| CO-ROUTINE cnt |
| SETUP |
| SCAN CONSTANT ROW |
| RECURSIVE STEP |
| SCAN cnt |
| SCAN cnt |

# Using Scalar values in select clause with + operator

Expand Down

0 comments on commit 5da74b9

Please sign in to comment.