Power BI connector: add native query support
Chưa có ai nhận issue này.
Đánh giá
- Độ khó
- 4/5
- Thời gian dự kiến
- 3-5 ngày
- Mức phù hợp với người mới
- 35/100
Hướng nghiên cứu
The change belongs in the Power Query connector definition, adding SqlCapabilities with Sql92Translation set to "PassThrough" and a NativeQueryProperties record in the Publish record, following the linked Microsoft native-query SDK guide. Add a test that checks the generated SQL folds for later steps, then verify in Power BI Desktop in both Import and DirectQuery. Done means the Native query field appears, folding holds with EnableFolding = true, and the approval prompt works in both modes.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
Description
The connector has no way to enter a SQL statement in Get Data. Users who need a hand-written query must either create a view in Trino or fall back to Microsoft's generic ODBC connector, whose SQL statement field works with this driver but is Import-Mode-only and does not fold later steps.
Power Query's documented mechanism is Sql92Translation = "PassThrough" in SqlCapabilities plus a NativeQueryProperties record in the Publish record, which adds a Native query field to the dialog and, with EnableFolding = true, keeps subsequent steps folding: https://learn.microsoft.com/en-us/power-query/native-query-sdk
Tasks
- the .pq change
- a folding-contract test for the generated SQL
- a Power BI Desktop check in both Import and DirectQuery (DirectQuery behaviour with native queries is untested): Power BI asks the user to approve each native query; that is by design and stays.
- Ngôn ngữ chính
- Rust
- Star
- 2
- Fork
- 0
- Merge trung bình
- 1 ngày 15 giờ
- Pull request đã merge (30 ngày)
- 3
Chuẩn bị môi trường
- Không có Dockerfile hay tệp Docker Compose
- Có mẫu pull request
- Đọc hướng dẫn đóng góp
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của stackabletech/stackable-odbc-trino
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 67/100
-
Độ khó 1/5 1-3 giờ Mức phù hợp với người mới 62/100
-
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 65/100
-
Độ khó 3/5 1-2 ngày Mức phù hợp với người mới 20/100
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 55/100
Tất cả issue của stackabletech/stackable-odbc-trino
Issue tương tự
-
state:triage-needed
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 82/100
Maintainer thường phản hồi trong vòng 1 ngày
-
bug P2
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 74/100
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 74/100
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 75/100
pedrovgs/UseCaseCoverage#23 ·
-
area: library data-loss tier: p0 type: bug
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 82/100
Maintainer thường phản hồi trong vòng 1 ngày