You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/LINQ-to-Spark.md
+17-21Lines changed: 17 additions & 21 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -120,6 +120,9 @@ using var context = Spark.Connect(SparkMaster.Yarn(), "MyApp", o => {
120
120
});
121
121
```
122
122
123
+
> [!CAUTION]
124
+
> **One SparkContext per process.** The JVM shares a single `SparkContext`. Disposing any `Spark.Connect()` context kills the shared SparkContext for ALL instances in the same process. Do not create multiple contexts in the same application — reuse a single context throughout.
// 4. Extract results (unwraps the tuple to flat items)
287
283
.AllCases()
288
284
.OrderBy(r=>r.Id)
@@ -457,13 +453,13 @@ DataLinq.Spark uses a tiered licensing model:
457
453
458
454
### Zero-Friction Onboarding
459
455
460
-
No license key is required to get started. When no license is detected, DataLinq automatically enables the Development tier, which provides full API access with a 1,000-row limit on action methods (`ToArray()`, `Pull()`, `Count()`, `First()`).
456
+
No license key is required to get started. When no license is detected, DataLinq automatically enables the Development tier, which provides full API access with a 1,000-row limit on action methods (`ToArray()`, `Pull()`, `Count()`, `First()`).**Exceeding the limit throws a `LicenseException`** — results are not silently truncated.
0 commit comments