Skip to content
Closed
Show file tree
Hide file tree
Changes from 5 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 R/pkg/DESCRIPTION
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ Authors@R: c(person("Shivaram", "Venkataraman", role = "aut",
License: Apache License (== 2.0)
URL: https://www.apache.org https://spark.apache.org
BugReports: https://spark.apache.org/contributing.html
SystemRequirements: Java (>= 8, < 12)
SystemRequirements: Java (>= 8, < 18)
Depends:
R (>= 3.5),
methods
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -94,6 +94,8 @@ class ConfigEntrySuite extends SparkFunSuite {
assert(conf.get(bytes) === 1024L)
conf.set(bytes.key, "1k")
assert(conf.get(bytes) === 1L)
conf.set(bytes.key, "2048")
assert(conf.get(bytes) === 2048)
}

test("conf entry: regex") {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1419,8 +1419,8 @@ object SQLConf {
" bigger files (which is scheduled first). This configuration is effective only when using" +
" file-based sources such as Parquet, JSON and ORC.")
.version("2.0.0")
.longConf
.createWithDefault(4 * 1024 * 1024)
.bytesConf(ByteUnit.BYTE)
.createWithDefaultString("4MB")

val FILES_MIN_PARTITION_NUM = buildConf("spark.sql.files.minPartitionNum")
.doc("The suggested (not guaranteed) minimum number of split file partitions. " +
Expand Down