Repository navigation
Commit 6161766
fix: Raise Trino monitoring query errors other than a missing table
query_monitoring_metrics returned [] for every TrinoQueryError. A missing
table or schema still means no metrics yet; any other query error is now
logged and re-raised, as ensure_monitoring_tables already does. An empty
result made DQMJobManager.get_job report a job as missing, so update_status
dropped status changes without an error.
Signed-off-by: Eric Del Orefice <[email protected]>1 parent fe27230 commit 6161766
2 files changed
Lines changed: 51 additions & 1 deletion
File tree
- sdk/python/feast/infra/offline_stores/contrib/trino_offline_store
- tests
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
768 | 768 | | |
769 | 769 | | |
770 | 770 | | |
| 771 | + | |
| 772 | + | |
| 773 | + | |
| 774 | + | |
| 775 | + | |
| 776 | + | |
| 777 | + | |
| 778 | + | |
| 779 | + | |
| 780 | + | |
| 781 | + | |
| 782 | + | |
| 783 | + | |
| 784 | + | |
| 785 | + | |
| 786 | + | |
| 787 | + | |
| 788 | + | |
| 789 | + | |
| 790 | + | |
| 791 | + | |
| 792 | + | |
| 793 | + | |
| 794 | + | |
| 795 | + | |
| 796 | + | |
| 797 | + | |
| 798 | + | |
| 799 | + | |
| 800 | + | |
| 801 | + | |
| 802 | + | |
| 803 | + | |
| 804 | + | |
| 805 | + | |
| 806 | + | |
| 807 | + | |
| 808 | + | |
| 809 | + | |
| 810 | + | |
| 811 | + | |
| 812 | + | |
771 | 813 | | |
772 | 814 | | |
773 | 815 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
719 | 719 | | |
720 | 720 | | |
721 | 721 | | |
| 722 | + | |
| 723 | + | |
| 724 | + | |
| 725 | + | |
| 726 | + | |
| 727 | + | |
| 728 | + | |
| 729 | + | |
722 | 730 | | |
723 | 731 | | |
724 | 732 | | |
725 | 733 | | |
726 | 734 | | |
727 | | - | |
| 735 | + | |
728 | 736 | | |
729 | 737 | | |
730 | 738 | | |
| |||
0 commit comments