Commit 7f06533
Saurabh Badenkal
End-to-end SQL support: schema discovery, SELECT * expansion, DataFrame bridge, guardrails, examples
- Schema discovery APIs: list_columns, list_relationships, list_table_relationships
- SELECT * auto-expansion via list_columns (server blocks SELECT *)
- client.dataframe.sql() for SQL -> DataFrame bridge
- SQL safety guardrails: block writes, auto-inject TOP 5000, warn on
leading-wildcard LIKE and implicit cross joins
- Comprehensive sql_examples.py (28 sections): JOINs, aggregates, GROUP BY,
DISTINCT, OFFSET FETCH, polymorphic lookups, audit trail, SQL read ->
DataFrame transform -> SDK write-back
- Updated query.sql() docstring with accurate SQL capabilities
- 732 tests (was 318), all passing1 parent d61ffca commit 7f06533
File tree
12 files changed
+2030
-15
lines changed- examples
- advanced
- src/PowerPlatform/Dataverse
- core
- data
- operations
- tests/unit
- data
12 files changed
+2030
-15
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
269 | 269 | | |
270 | 270 | | |
271 | 271 | | |
| 272 | + | |
| 273 | + | |
| 274 | + | |
| 275 | + | |
| 276 | + | |
| 277 | + | |
| 278 | + | |
| 279 | + | |
272 | 280 | | |
273 | 281 | | |
274 | 282 | | |
| |||
372 | 380 | | |
373 | 381 | | |
374 | 382 | | |
375 | | - | |
| 383 | + | |
| 384 | + | |
376 | 385 | | |
377 | 386 | | |
| 387 | + | |
378 | 388 | | |
379 | 389 | | |
380 | 390 | | |
381 | | - | |
382 | | - | |
| 391 | + | |
| 392 | + | |
| 393 | + | |
| 394 | + | |
| 395 | + | |
| 396 | + | |
| 397 | + | |
| 398 | + | |
| 399 | + | |
| 400 | + | |
| 401 | + | |
| 402 | + | |
| 403 | + | |
| 404 | + | |
| 405 | + | |
| 406 | + | |
383 | 407 | | |
384 | 408 | | |
385 | 409 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
40 | 40 | | |
41 | 41 | | |
42 | 42 | | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
43 | 56 | | |
44 | 57 | | |
45 | 58 | | |
| |||
68 | 81 | | |
69 | 82 | | |
70 | 83 | | |
| 84 | + | |
| 85 | + | |
| 86 | + | |
71 | 87 | | |
72 | 88 | | |
73 | 89 | | |
74 | 90 | | |
75 | 91 | | |
76 | 92 | | |
77 | 93 | | |
| 94 | + | |
78 | 95 | | |
79 | 96 | | |
80 | 97 | | |
| |||
0 commit comments