Skip to content

Commit ebfedd0

Browse files
committed
Merge remote-tracking branch 'origin/branch-50' into jacob/test-branch-51-upgrade
2 parents fd35a09 + 19bbdff commit ebfedd0

File tree

84 files changed

+3491
-193
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

84 files changed

+3491
-193
lines changed

.github/workflows/audit.yml

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,14 +36,24 @@ on:
3636

3737
merge_group:
3838

39+
merge_group:
40+
3941
jobs:
4042
security_audit:
4143
runs-on: ubuntu-latest
4244
steps:
43-
- uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
45+
- uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
4446
- name: Install cargo-audit
47+
<<<<<<< HEAD
4548
uses: taiki-e/install-action@f535147c22906d77695e11cb199e764aa610a4fc # v2.62.46
4649
with:
4750
tool: cargo-audit
4851
- name: Run audit check
4952
run: cargo audit
53+
=======
54+
uses: taiki-e/install-action@f535147c22906d77695e11cb199e764aa610a4fc # v2.62.46
55+
with:
56+
tool: cargo-audit
57+
- name: Run audit check
58+
run: cargo audit --ignore RUSTSEC-2025-0111
59+
>>>>>>> origin/branch-50

.github/workflows/rust.yml

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -271,7 +271,21 @@ jobs:
271271
runs-on: ubuntu-latest
272272
container:
273273
image: amd64/rust
274+
volumes:
275+
- /usr/local:/host/usr/local
274276
steps:
277+
- name: Remove unnecessary preinstalled software
278+
run: |
279+
echo "Disk space before cleanup:"
280+
df -h
281+
# remove tool cache: about 8.5GB (github has host /opt/hostedtoolcache mounted as /__t)
282+
rm -rf /__t/* || true
283+
# remove Haskell runtime: about 6.3GB (host /usr/local/.ghcup)
284+
rm -rf /host/usr/local/.ghcup || true
285+
# remove Android library: about 7.8GB (host /usr/local/lib/android)
286+
rm -rf /host/usr/local/lib/android || true
287+
echo "Disk space after cleanup:"
288+
df -h
275289
- uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
276290
with:
277291
submodules: true

datafusion/common/src/config.rs

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -653,7 +653,7 @@ config_namespace! {
653653

654654
/// (reading) If true, parquet reader will read columns of `Utf8/Utf8Large` with `Utf8View`,
655655
/// and `Binary/BinaryLarge` with `BinaryView`.
656-
pub schema_force_view_types: bool, default = true
656+
pub schema_force_view_types: bool, default = false
657657

658658
/// (reading) If true, parquet reader will read columns of
659659
/// `Binary/LargeBinary` with `Utf8`, and `BinaryView` with `Utf8View`.
@@ -2676,6 +2676,7 @@ config_namespace! {
26762676
// The input regex for Nulls when loading CSVs.
26772677
pub null_regex: Option<String>, default = None
26782678
pub comment: Option<u8>, default = None
2679+
<<<<<<< HEAD
26792680
/// Whether to allow truncated rows when parsing, both within a single file and across files.
26802681
///
26812682
/// When set to false (default), reading a single CSV file which has rows of different lengths will
@@ -2685,6 +2686,11 @@ config_namespace! {
26852686
/// rows with null values for the missing columns; if reading multiple CSV files with different number
26862687
/// of columns, it creates a union schema containing all columns found across the files, and will
26872688
/// pad any files missing columns with null values for their rows.
2689+
=======
2690+
// Whether to allow truncated rows when parsing.
2691+
// By default this is set to false and will error if the CSV rows have different lengths.
2692+
// When set to true then it will allow records with less than the expected number of columns
2693+
>>>>>>> origin/branch-50
26882694
pub truncated_rows: Option<bool>, default = None
26892695
}
26902696
}

datafusion/core/src/datasource/file_format/parquet.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -582,11 +582,11 @@ mod tests {
582582
assert_eq!(string_truncation_stats.null_count, Precision::Exact(2));
583583
assert_eq!(
584584
string_truncation_stats.max_value,
585-
Precision::Inexact(ScalarValue::Utf8View(Some("b".repeat(63) + "c")))
585+
Precision::Inexact(Utf8(Some("b".repeat(63) + "c")))
586586
);
587587
assert_eq!(
588588
string_truncation_stats.min_value,
589-
Precision::Inexact(ScalarValue::Utf8View(Some("a".repeat(64))))
589+
Precision::Inexact(Utf8(Some("a".repeat(64))))
590590
);
591591

592592
Ok(())

0 commit comments

Comments
 (0)