Hacktoberfest 2026: những issue maintainer đã đánh dấu cho tháng Mười, đang mở và phù hợp người mới. Xem issue Hacktoberfest

Power BI connector: add native query support

Đang mở
#19 0 bình luận 0 reaction 0 người được giao Xem trên GitHub

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
Loại issue
Tính năng
Độ rõ ràng
Khá rõ ràng
Mức độ hoạt động
Sôi nổi
Công nghệ
sql
Lĩnh vực
data

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

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. 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.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của stackabletech/stackable-odbc-trino

Tất cả issue của stackabletech/stackable-odbc-trino

Issue tương tự

Thêm issue về Rust

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.