Hacktoberfest 2026:维护者为十月标记出来的 issue,仍然开放、适合新手。 浏览 Hacktoberfest issue

Power BI connector: add native query support

未关闭
#19 0 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看

还没有人认领这个 Issue。

评估

难度
4/5
预计耗时
3-5 天
新手友好度
35/100
Issue 类型
功能
描述清晰度
基本清楚
活跃度
活跃
技术栈
sql
领域
data

调研方向

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.

由索引模型根据 Issue 内容生成。

描述

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.
主要语言
Rust
星标
2
派生
0
平均合并
1 天 15 小时
30 天内合并 PR
3

环境准备

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

stackabletech/stackable-odbc-trino 的其他 Issue

查看 stackabletech/stackable-odbc-trino 的全部 Issue

相似的 Issue

更多 Rust Issue

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。