()
| 422 | |
| 423 | #[test] |
| 424 | fn debug() { |
| 425 | assert_cmd_snapshot!(prqlc_command() |
| 426 | .args(["debug", "lineage"]) |
| 427 | .pass_stdin("from tracks | select {artist, album}"), @" |
| 428 | success: true |
| 429 | exit_code: 0 |
| 430 | ----- stdout ----- |
| 431 | frames: |
| 432 | - - 1:14-36 |
| 433 | - columns: |
| 434 | - !Single |
| 435 | name: |
| 436 | - tracks |
| 437 | - artist |
| 438 | target_id: 120 |
| 439 | target_name: null |
| 440 | - !Single |
| 441 | name: |
| 442 | - tracks |
| 443 | - album |
| 444 | target_id: 121 |
| 445 | target_name: null |
| 446 | inputs: |
| 447 | - id: 118 |
| 448 | name: tracks |
| 449 | table: |
| 450 | - default_db |
| 451 | - tracks |
| 452 | nodes: |
| 453 | - id: 118 |
| 454 | kind: Ident |
| 455 | span: 1:0-11 |
| 456 | ident: !Ident |
| 457 | - default_db |
| 458 | - tracks |
| 459 | parent: 123 |
| 460 | - id: 120 |
| 461 | kind: Ident |
| 462 | span: 1:22-28 |
| 463 | ident: !Ident |
| 464 | - this |
| 465 | - tracks |
| 466 | - artist |
| 467 | targets: |
| 468 | - 118 |
| 469 | parent: 122 |
| 470 | - id: 121 |
| 471 | kind: Ident |
| 472 | span: 1:30-35 |
| 473 | ident: !Ident |
| 474 | - this |
| 475 | - tracks |
| 476 | - album |
| 477 | targets: |
| 478 | - 118 |
| 479 | parent: 122 |
| 480 | - id: 122 |
| 481 | kind: Tuple |
nothing calls this directly
no test coverage detected