Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion Sources/SparkConnect/SparkConnectError.swift
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
//

/// A enum for ``SparkConnect`` package errors
enum SparkConnectError: Error {
public enum SparkConnectError: Error {
case UnsupportedOperationException
case InvalidSessionIDException
case InvalidTypeException
Expand Down
10 changes: 5 additions & 5 deletions Sources/SparkConnect/StorageLevel.swift
Original file line number Diff line number Diff line change
Expand Up @@ -23,19 +23,19 @@
/// to replicate the `RDD` partitions on multiple nodes.
public struct StorageLevel: Sendable {
/// Whether the cache should use disk or not.
var useDisk: Bool
public var useDisk: Bool

/// Whether the cache should use memory or not.
var useMemory: Bool
public var useMemory: Bool

/// Whether the cache should use off-heap or not.
var useOffHeap: Bool
public var useOffHeap: Bool

/// Whether the cached data is deserialized or not.
var deserialized: Bool
public var deserialized: Bool

/// The number of replicas.
var replication: Int32
public var replication: Int32

init(useDisk: Bool, useMemory: Bool, useOffHeap: Bool, deserialized: Bool, replication: Int32 = 1)
{
Expand Down
2 changes: 1 addition & 1 deletion Tests/SparkConnectTests/DataFrameReaderTests.swift
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
import Foundation
import Testing

@testable import SparkConnect
import SparkConnect

/// A test suite for `DataFrameReader`
struct DataFrameReaderTests {
Expand Down
2 changes: 1 addition & 1 deletion Tests/SparkConnectTests/DataFrameTests.swift
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@

import Testing

@testable import SparkConnect
import SparkConnect

/// A test suite for `DataFrame`
struct DataFrameTests {
Expand Down
2 changes: 1 addition & 1 deletion Tests/SparkConnectTests/DataFrameWriterTests.swift
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
import Foundation
import Testing

@testable import SparkConnect
import SparkConnect

/// A test suite for `DataFrameWriter`
struct DataFrameWriterTests {
Expand Down
2 changes: 1 addition & 1 deletion Tests/SparkConnectTests/SQLTests.swift
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
import Foundation
import Testing

@testable import SparkConnect
import SparkConnect

/// A test suite for various SQL statements.
struct SQLTests {
Expand Down
Loading